home *** CD-ROM | disk | FTP | other *** search
/ Aminet 19 / Aminet 19 (1997)(GTI - Schatztruhe)[!][Jun 1997].iso / Aminet / dev / mui / MUIPlusPlus.lha / Source / Lib / mui.cpp
Encoding:
C/C++ Source or Header  |  1997-03-24  |  55.1 KB  |  2,815 lines

  1. #define MUIPP_NOINLINES
  2. #define MUI_OBSOLETE
  3. #include <libraries/mui.hpp>
  4.  
  5. Object * CMUI_Notify::ApplicationObject (void) const
  6. {
  7.      return (Object *)GetAttr (MUIA_ApplicationObject);
  8. }
  9.  
  10. struct AppMessage * CMUI_Notify::AppMessage (void) const
  11. {
  12.      return (struct AppMessage *)GetAttr (MUIA_AppMessage);
  13. }
  14.  
  15. LONG CMUI_Notify::HelpLine (void) const
  16. {
  17.      return (LONG)GetAttr (MUIA_HelpLine);
  18. }
  19.  
  20. void CMUI_Notify::SetHelpLine (LONG value)
  21. {
  22.      SetAttr (MUIA_HelpLine, (ULONG)value);
  23. }
  24.  
  25. STRPTR CMUI_Notify::HelpNode (void) const
  26. {
  27.      return (STRPTR)GetAttr (MUIA_HelpNode);
  28. }
  29.  
  30. void CMUI_Notify::SetHelpNode (STRPTR value)
  31. {
  32.      SetAttr (MUIA_HelpNode, (ULONG)value);
  33. }
  34.  
  35. void CMUI_Notify::SetNoNotify (BOOL value)
  36. {
  37.      SetAttr (MUIA_NoNotify, (ULONG)value);
  38. }
  39.  
  40. ULONG CMUI_Notify::ObjectID (void) const
  41. {
  42.      return (ULONG)GetAttr (MUIA_ObjectID);
  43. }
  44.  
  45. void CMUI_Notify::SetObjectID (ULONG value)
  46. {
  47.      SetAttr (MUIA_ObjectID, (ULONG)value);
  48. }
  49.  
  50. Object * CMUI_Notify::Parent (void) const
  51. {
  52.      return (Object *)GetAttr (MUIA_Parent);
  53. }
  54.  
  55. LONG CMUI_Notify::Revision (void) const
  56. {
  57.      return (LONG)GetAttr (MUIA_Revision);
  58. }
  59.  
  60. ULONG CMUI_Notify::UserData (void) const
  61. {
  62.      return (ULONG)GetAttr (MUIA_UserData);
  63. }
  64.  
  65. void CMUI_Notify::SetUserData (ULONG value)
  66. {
  67.      SetAttr (MUIA_UserData, (ULONG)value);
  68. }
  69.  
  70. LONG CMUI_Notify::Version (void) const
  71. {
  72.      return (LONG)GetAttr (MUIA_Version);
  73. }
  74.  
  75. ULONG CMUI_Notify::CallHook (StartVarArgs sva, struct Hook * Hook, ULONG param1, ...)
  76. {
  77.     sva.methodID = MUIM_CallHook;
  78.     return DoMethodA ((Msg)&sva);
  79. }
  80.  
  81. ULONG CMUI_Notify::Export (Object * dataspace)
  82. {
  83.     return DoMethod (MUIM_Export, dataspace);
  84. }
  85.  
  86. ULONG CMUI_Notify::FindUData (ULONG udata)
  87. {
  88.     return DoMethod (MUIM_FindUData, udata);
  89. }
  90.  
  91. ULONG CMUI_Notify::GetConfigItem (ULONG id, ULONG * storage)
  92. {
  93.     return DoMethod (MUIM_GetConfigItem, id, storage);
  94. }
  95.  
  96. ULONG CMUI_Notify::GetUData (ULONG udata, ULONG attr, ULONG * storage)
  97. {
  98.     return DoMethod (MUIM_GetUData, udata, attr, storage);
  99. }
  100.  
  101. ULONG CMUI_Notify::Import (Object * dataspace)
  102. {
  103.     return DoMethod (MUIM_Import, dataspace);
  104. }
  105.  
  106. ULONG CMUI_Notify::KillNotify (ULONG TrigAttr)
  107. {
  108.     return DoMethod (MUIM_KillNotify, TrigAttr);
  109. }
  110.  
  111. ULONG CMUI_Notify::KillNotifyObj (ULONG TrigAttr, Object * dest)
  112. {
  113.     return DoMethod (MUIM_KillNotifyObj, TrigAttr, dest);
  114. }
  115.  
  116. ULONG CMUI_Notify::MultiSet (StartVarArgs sva, ULONG attr, ULONG val, APTR obj, ...)
  117. {
  118.     sva.methodID = MUIM_MultiSet;
  119.     return DoMethodA ((Msg)&sva);
  120. }
  121.  
  122. ULONG CMUI_Notify::NoNotifySet (StartVarArgs sva, ULONG attr, char * format, ULONG val, ...)
  123. {
  124.     sva.methodID = MUIM_NoNotifySet;
  125.     return DoMethodA ((Msg)&sva);
  126. }
  127.  
  128. ULONG CMUI_Notify::Notify (StartVarArgs sva, ULONG TrigAttr, ULONG TrigVal, APTR DestObj, ULONG FollowParams, ...)
  129. {
  130.     sva.methodID = MUIM_Notify;
  131.     return DoMethodA ((Msg)&sva);
  132. }
  133.  
  134. ULONG CMUI_Notify::Set (ULONG attr, ULONG val)
  135. {
  136.     return DoMethod (MUIM_Set, attr, val);
  137. }
  138.  
  139. ULONG CMUI_Notify::SetAsString (StartVarArgs sva, ULONG attr, char * format, ULONG val, ...)
  140. {
  141.     sva.methodID = MUIM_SetAsString;
  142.     return DoMethodA ((Msg)&sva);
  143. }
  144.  
  145. ULONG CMUI_Notify::SetUData (ULONG udata, ULONG attr, ULONG val)
  146. {
  147.     return DoMethod (MUIM_SetUData, udata, attr, val);
  148. }
  149.  
  150. ULONG CMUI_Notify::SetUDataOnce (ULONG udata, ULONG attr, ULONG val)
  151. {
  152.     return DoMethod (MUIM_SetUDataOnce, udata, attr, val);
  153. }
  154.  
  155. ULONG CMUI_Notify::WriteLong (ULONG val, ULONG * memory)
  156. {
  157.     return DoMethod (MUIM_WriteLong, val, memory);
  158. }
  159.  
  160. ULONG CMUI_Notify::WriteString (char * str, char * memory)
  161. {
  162.     return DoMethod (MUIM_WriteString, str, memory);
  163. }
  164.  
  165. struct MinList * CMUI_Family::List (void) const
  166. {
  167.      return (struct MinList *)GetAttr (MUIA_Family_List);
  168. }
  169.  
  170. ULONG CMUI_Family::AddHead (Object * obj)
  171. {
  172.     return DoMethod (MUIM_Family_AddHead, obj);
  173. }
  174.  
  175. ULONG CMUI_Family::AddTail (Object * obj)
  176. {
  177.     return DoMethod (MUIM_Family_AddTail, obj);
  178. }
  179.  
  180. ULONG CMUI_Family::Insert (Object * obj, Object * pred)
  181. {
  182.     return DoMethod (MUIM_Family_Insert, obj, pred);
  183. }
  184.  
  185. ULONG CMUI_Family::Remove (Object * obj)
  186. {
  187.     return DoMethod (MUIM_Family_Remove, obj);
  188. }
  189.  
  190. ULONG CMUI_Family::Sort (StartVarArgs sva, Object * obj, ...)
  191. {
  192.     sva.methodID = MUIM_Family_Sort;
  193.     return DoMethodA ((Msg)&sva);
  194. }
  195.  
  196. ULONG CMUI_Family::Transfer (Object * family)
  197. {
  198.     return DoMethod (MUIM_Family_Transfer, family);
  199. }
  200.  
  201. BOOL CMUI_Menustrip::Enabled (void) const
  202. {
  203.      return (BOOL)GetAttr (MUIA_Menustrip_Enabled);
  204. }
  205.  
  206. void CMUI_Menustrip::SetEnabled (BOOL value)
  207. {
  208.      SetAttr (MUIA_Menustrip_Enabled, (ULONG)value);
  209. }
  210.  
  211. BOOL CMUI_Menu::Enabled (void) const
  212. {
  213.      return (BOOL)GetAttr (MUIA_Menu_Enabled);
  214. }
  215.  
  216. void CMUI_Menu::SetEnabled (BOOL value)
  217. {
  218.      SetAttr (MUIA_Menu_Enabled, (ULONG)value);
  219. }
  220.  
  221. STRPTR CMUI_Menu::Title (void) const
  222. {
  223.      return (STRPTR)GetAttr (MUIA_Menu_Title);
  224. }
  225.  
  226. void CMUI_Menu::SetTitle (STRPTR value)
  227. {
  228.      SetAttr (MUIA_Menu_Title, (ULONG)value);
  229. }
  230.  
  231. BOOL CMUI_Menuitem::Checked (void) const
  232. {
  233.      return (BOOL)GetAttr (MUIA_Menuitem_Checked);
  234. }
  235.  
  236. void CMUI_Menuitem::SetChecked (BOOL value)
  237. {
  238.      SetAttr (MUIA_Menuitem_Checked, (ULONG)value);
  239. }
  240.  
  241. BOOL CMUI_Menuitem::Checkit (void) const
  242. {
  243.      return (BOOL)GetAttr (MUIA_Menuitem_Checkit);
  244. }
  245.  
  246. void CMUI_Menuitem::SetCheckit (BOOL value)
  247. {
  248.      SetAttr (MUIA_Menuitem_Checkit, (ULONG)value);
  249. }
  250.  
  251. BOOL CMUI_Menuitem::CommandString (void) const
  252. {
  253.      return (BOOL)GetAttr (MUIA_Menuitem_CommandString);
  254. }
  255.  
  256. void CMUI_Menuitem::SetCommandString (BOOL value)
  257. {
  258.      SetAttr (MUIA_Menuitem_CommandString, (ULONG)value);
  259. }
  260.  
  261. BOOL CMUI_Menuitem::Enabled (void) const
  262. {
  263.      return (BOOL)GetAttr (MUIA_Menuitem_Enabled);
  264. }
  265.  
  266. void CMUI_Menuitem::SetEnabled (BOOL value)
  267. {
  268.      SetAttr (MUIA_Menuitem_Enabled, (ULONG)value);
  269. }
  270.  
  271. LONG CMUI_Menuitem::Exclude (void) const
  272. {
  273.      return (LONG)GetAttr (MUIA_Menuitem_Exclude);
  274. }
  275.  
  276. void CMUI_Menuitem::SetExclude (LONG value)
  277. {
  278.      SetAttr (MUIA_Menuitem_Exclude, (ULONG)value);
  279. }
  280.  
  281. STRPTR CMUI_Menuitem::Shortcut (void) const
  282. {
  283.      return (STRPTR)GetAttr (MUIA_Menuitem_Shortcut);
  284. }
  285.  
  286. void CMUI_Menuitem::SetShortcut (STRPTR value)
  287. {
  288.      SetAttr (MUIA_Menuitem_Shortcut, (ULONG)value);
  289. }
  290.  
  291. STRPTR CMUI_Menuitem::Title (void) const
  292. {
  293.      return (STRPTR)GetAttr (MUIA_Menuitem_Title);
  294. }
  295.  
  296. void CMUI_Menuitem::SetTitle (STRPTR value)
  297. {
  298.      SetAttr (MUIA_Menuitem_Title, (ULONG)value);
  299. }
  300.  
  301. BOOL CMUI_Menuitem::Toggle (void) const
  302. {
  303.      return (BOOL)GetAttr (MUIA_Menuitem_Toggle);
  304. }
  305.  
  306. void CMUI_Menuitem::SetToggle (BOOL value)
  307. {
  308.      SetAttr (MUIA_Menuitem_Toggle, (ULONG)value);
  309. }
  310.  
  311. struct MenuItem * CMUI_Menuitem::Trigger (void) const
  312. {
  313.      return (struct MenuItem *)GetAttr (MUIA_Menuitem_Trigger);
  314. }
  315.  
  316. BOOL CMUI_Application::Active (void) const
  317. {
  318.      return (BOOL)GetAttr (MUIA_Application_Active);
  319. }
  320.  
  321. void CMUI_Application::SetActive (BOOL value)
  322. {
  323.      SetAttr (MUIA_Application_Active, (ULONG)value);
  324. }
  325.  
  326. STRPTR CMUI_Application::Author (void) const
  327. {
  328.      return (STRPTR)GetAttr (MUIA_Application_Author);
  329. }
  330.  
  331. STRPTR CMUI_Application::Base (void) const
  332. {
  333.      return (STRPTR)GetAttr (MUIA_Application_Base);
  334. }
  335.  
  336. CxObj * CMUI_Application::Broker (void) const
  337. {
  338.      return (CxObj *)GetAttr (MUIA_Application_Broker);
  339. }
  340.  
  341. struct Hook * CMUI_Application::BrokerHook (void) const
  342. {
  343.      return (struct Hook *)GetAttr (MUIA_Application_BrokerHook);
  344. }
  345.  
  346. void CMUI_Application::SetBrokerHook (struct Hook * value)
  347. {
  348.      SetAttr (MUIA_Application_BrokerHook, (ULONG)value);
  349. }
  350.  
  351. struct MsgPort * CMUI_Application::BrokerPort (void) const
  352. {
  353.      return (struct MsgPort *)GetAttr (MUIA_Application_BrokerPort);
  354. }
  355.  
  356. LONG CMUI_Application::BrokerPri (void) const
  357. {
  358.      return (LONG)GetAttr (MUIA_Application_BrokerPri);
  359. }
  360.  
  361. struct MUI_Command * CMUI_Application::Commands (void) const
  362. {
  363.      return (struct MUI_Command *)GetAttr (MUIA_Application_Commands);
  364. }
  365.  
  366. void CMUI_Application::SetCommands (struct MUI_Command * value)
  367. {
  368.      SetAttr (MUIA_Application_Commands, (ULONG)value);
  369. }
  370.  
  371. STRPTR CMUI_Application::Copyright (void) const
  372. {
  373.      return (STRPTR)GetAttr (MUIA_Application_Copyright);
  374. }
  375.  
  376. STRPTR CMUI_Application::Description (void) const
  377. {
  378.      return (STRPTR)GetAttr (MUIA_Application_Description);
  379. }
  380.  
  381. struct DiskObject * CMUI_Application::DiskObject (void) const
  382. {
  383.      return (struct DiskObject *)GetAttr (MUIA_Application_DiskObject);
  384. }
  385.  
  386. void CMUI_Application::SetDiskObject (struct DiskObject * value)
  387. {
  388.      SetAttr (MUIA_Application_DiskObject, (ULONG)value);
  389. }
  390.  
  391. BOOL CMUI_Application::DoubleStart (void) const
  392. {
  393.      return (BOOL)GetAttr (MUIA_Application_DoubleStart);
  394. }
  395.  
  396. void CMUI_Application::SetDropObject (Object * value)
  397. {
  398.      SetAttr (MUIA_Application_DropObject, (ULONG)value);
  399. }
  400.  
  401. BOOL CMUI_Application::ForceQuit (void) const
  402. {
  403.      return (BOOL)GetAttr (MUIA_Application_ForceQuit);
  404. }
  405.  
  406. STRPTR CMUI_Application::HelpFile (void) const
  407. {
  408.      return (STRPTR)GetAttr (MUIA_Application_HelpFile);
  409. }
  410.  
  411. void CMUI_Application::SetHelpFile (STRPTR value)
  412. {
  413.      SetAttr (MUIA_Application_HelpFile, (ULONG)value);
  414. }
  415.  
  416. BOOL CMUI_Application::Iconified (void) const
  417. {
  418.      return (BOOL)GetAttr (MUIA_Application_Iconified);
  419. }
  420.  
  421. void CMUI_Application::SetIconified (BOOL value)
  422. {
  423.      SetAttr (MUIA_Application_Iconified, (ULONG)value);
  424. }
  425.  
  426. struct NewMenu * CMUI_Application::Menu (void) const
  427. {
  428.      return (struct NewMenu *)GetAttr (MUIA_Application_Menu);
  429. }
  430.  
  431. ULONG CMUI_Application::MenuAction (void) const
  432. {
  433.      return (ULONG)GetAttr (MUIA_Application_MenuAction);
  434. }
  435.  
  436. ULONG CMUI_Application::MenuHelp (void) const
  437. {
  438.      return (ULONG)GetAttr (MUIA_Application_MenuHelp);
  439. }
  440.  
  441. struct Hook * CMUI_Application::RexxHook (void) const
  442. {
  443.      return (struct Hook *)GetAttr (MUIA_Application_RexxHook);
  444. }
  445.  
  446. void CMUI_Application::SetRexxHook (struct Hook * value)
  447. {
  448.      SetAttr (MUIA_Application_RexxHook, (ULONG)value);
  449. }
  450.  
  451. struct RxMsg * CMUI_Application::RexxMsg (void) const
  452. {
  453.      return (struct RxMsg *)GetAttr (MUIA_Application_RexxMsg);
  454. }
  455.  
  456. void CMUI_Application::SetRexxString (STRPTR value)
  457. {
  458.      SetAttr (MUIA_Application_RexxString, (ULONG)value);
  459. }
  460.  
  461. void CMUI_Application::SetSleep (BOOL value)
  462. {
  463.      SetAttr (MUIA_Application_Sleep, (ULONG)value);
  464. }
  465.  
  466. STRPTR CMUI_Application::Title (void) const
  467. {
  468.      return (STRPTR)GetAttr (MUIA_Application_Title);
  469. }
  470.  
  471. STRPTR CMUI_Application::Version (void) const
  472. {
  473.      return (STRPTR)GetAttr (MUIA_Application_Version);
  474. }
  475.  
  476. struct List * CMUI_Application::WindowList (void) const
  477. {
  478.      return (struct List *)GetAttr (MUIA_Application_WindowList);
  479. }
  480.  
  481. ULONG CMUI_Application::AboutMUI (Object * refwindow)
  482. {
  483.     return DoMethod (MUIM_Application_AboutMUI, refwindow);
  484. }
  485.  
  486. ULONG CMUI_Application::AddInputHandler (struct MUI_InputHandlerNode * ihnode)
  487. {
  488.     return DoMethod (MUIM_Application_AddInputHandler, ihnode);
  489. }
  490.  
  491. ULONG CMUI_Application::CheckRefresh (void)
  492. {
  493.     return DoMethod (MUIM_Application_CheckRefresh);
  494. }
  495.  
  496. ULONG CMUI_Application::GetMenuCheck (ULONG MenuID)
  497. {
  498.     return DoMethod (MUIM_Application_GetMenuCheck, MenuID);
  499. }
  500.  
  501. ULONG CMUI_Application::GetMenuState (ULONG MenuID)
  502. {
  503.     return DoMethod (MUIM_Application_GetMenuState, MenuID);
  504. }
  505.  
  506. ULONG CMUI_Application::Input (LONGBITS * signal)
  507. {
  508.     return DoMethod (MUIM_Application_Input, signal);
  509. }
  510.  
  511. ULONG CMUI_Application::InputBuffered (void)
  512. {
  513.     return DoMethod (MUIM_Application_InputBuffered);
  514. }
  515.  
  516. ULONG CMUI_Application::Load (STRPTR name)
  517. {
  518.     return DoMethod (MUIM_Application_Load, name);
  519. }
  520.  
  521. ULONG CMUI_Application::NewInput (LONGBITS * signal)
  522. {
  523.     return DoMethod (MUIM_Application_NewInput, signal);
  524. }
  525.  
  526. ULONG CMUI_Application::OpenConfigWindow (ULONG flags)
  527. {
  528.     return DoMethod (MUIM_Application_OpenConfigWindow, flags);
  529. }
  530.  
  531. ULONG CMUI_Application::PushMethod (StartVarArgs sva, Object * dest, LONG count, ...)
  532. {
  533.     sva.methodID = MUIM_Application_PushMethod;
  534.     return DoMethodA ((Msg)&sva);
  535. }
  536.  
  537. ULONG CMUI_Application::RemInputHandler (struct MUI_InputHandlerNode * ihnode)
  538. {
  539.     return DoMethod (MUIM_Application_RemInputHandler, ihnode);
  540. }
  541.  
  542. ULONG CMUI_Application::ReturnID (ULONG retid)
  543. {
  544.     return DoMethod (MUIM_Application_ReturnID, retid);
  545. }
  546.  
  547. ULONG CMUI_Application::Save (STRPTR name)
  548. {
  549.     return DoMethod (MUIM_Application_Save, name);
  550. }
  551.  
  552. ULONG CMUI_Application::SetConfigItem (ULONG item, APTR data)
  553. {
  554.     return DoMethod (MUIM_Application_SetConfigItem, item, data);
  555. }
  556.  
  557. ULONG CMUI_Application::SetMenuCheck (ULONG MenuID, LONG stat)
  558. {
  559.     return DoMethod (MUIM_Application_SetMenuCheck, MenuID, stat);
  560. }
  561.  
  562. ULONG CMUI_Application::SetMenuState (ULONG MenuID, LONG stat)
  563. {
  564.     return DoMethod (MUIM_Application_SetMenuState, MenuID, stat);
  565. }
  566.  
  567. ULONG CMUI_Application::ShowHelp (Object * window, char * name, char * node, LONG line)
  568. {
  569.     return DoMethod (MUIM_Application_ShowHelp, window, name, node, line);
  570. }
  571.  
  572. BOOL CMUI_Window::Activate (void) const
  573. {
  574.      return (BOOL)GetAttr (MUIA_Window_Activate);
  575. }
  576.  
  577. void CMUI_Window::SetActivate (BOOL value)
  578. {
  579.      SetAttr (MUIA_Window_Activate, (ULONG)value);
  580. }
  581.  
  582. Object * CMUI_Window::ActiveObject (void) const
  583. {
  584.      return (Object *)GetAttr (MUIA_Window_ActiveObject);
  585. }
  586.  
  587. void CMUI_Window::SetActiveObject (Object * value)
  588. {
  589.      SetAttr (MUIA_Window_ActiveObject, (ULONG)value);
  590. }
  591.  
  592. LONG CMUI_Window::AltHeight (void) const
  593. {
  594.      return (LONG)GetAttr (MUIA_Window_AltHeight);
  595. }
  596.  
  597. LONG CMUI_Window::AltLeftEdge (void) const
  598. {
  599.      return (LONG)GetAttr (MUIA_Window_AltLeftEdge);
  600. }
  601.  
  602. LONG CMUI_Window::AltTopEdge (void) const
  603. {
  604.      return (LONG)GetAttr (MUIA_Window_AltTopEdge);
  605. }
  606.  
  607. LONG CMUI_Window::AltWidth (void) const
  608. {
  609.      return (LONG)GetAttr (MUIA_Window_AltWidth);
  610. }
  611.  
  612. BOOL CMUI_Window::CloseRequest (void) const
  613. {
  614.      return (BOOL)GetAttr (MUIA_Window_CloseRequest);
  615. }
  616.  
  617. Object * CMUI_Window::DefaultObject (void) const
  618. {
  619.      return (Object *)GetAttr (MUIA_Window_DefaultObject);
  620. }
  621.  
  622. void CMUI_Window::SetDefaultObject (Object * value)
  623. {
  624.      SetAttr (MUIA_Window_DefaultObject, (ULONG)value);
  625. }
  626.  
  627. BOOL CMUI_Window::FancyDrawing (void) const
  628. {
  629.      return (BOOL)GetAttr (MUIA_Window_FancyDrawing);
  630. }
  631.  
  632. void CMUI_Window::SetFancyDrawing (BOOL value)
  633. {
  634.      SetAttr (MUIA_Window_FancyDrawing, (ULONG)value);
  635. }
  636.  
  637. LONG CMUI_Window::Height (void) const
  638. {
  639.      return (LONG)GetAttr (MUIA_Window_Height);
  640. }
  641.  
  642. ULONG CMUI_Window::ID (void) const
  643. {
  644.      return (ULONG)GetAttr (MUIA_Window_ID);
  645. }
  646.  
  647. void CMUI_Window::SetID (ULONG value)
  648. {
  649.      SetAttr (MUIA_Window_ID, (ULONG)value);
  650. }
  651.  
  652. struct InputEvent * CMUI_Window::InputEvent (void) const
  653. {
  654.      return (struct InputEvent *)GetAttr (MUIA_Window_InputEvent);
  655. }
  656.  
  657. BOOL CMUI_Window::IsSubWindow (void) const
  658. {
  659.      return (BOOL)GetAttr (MUIA_Window_IsSubWindow);
  660. }
  661.  
  662. void CMUI_Window::SetIsSubWindow (BOOL value)
  663. {
  664.      SetAttr (MUIA_Window_IsSubWindow, (ULONG)value);
  665. }
  666.  
  667. LONG CMUI_Window::LeftEdge (void) const
  668. {
  669.      return (LONG)GetAttr (MUIA_Window_LeftEdge);
  670. }
  671.  
  672. ULONG CMUI_Window::MenuAction (void) const
  673. {
  674.      return (ULONG)GetAttr (MUIA_Window_MenuAction);
  675. }
  676.  
  677. void CMUI_Window::SetMenuAction (ULONG value)
  678. {
  679.      SetAttr (MUIA_Window_MenuAction, (ULONG)value);
  680. }
  681.  
  682. Object * CMUI_Window::Menustrip (void) const
  683. {
  684.      return (Object *)GetAttr (MUIA_Window_Menustrip);
  685. }
  686.  
  687. Object * CMUI_Window::MouseObject (void) const
  688. {
  689.      return (Object *)GetAttr (MUIA_Window_MouseObject);
  690. }
  691.  
  692. void CMUI_Window::SetNoMenus (BOOL value)
  693. {
  694.      SetAttr (MUIA_Window_NoMenus, (ULONG)value);
  695. }
  696.  
  697. BOOL CMUI_Window::Open (void) const
  698. {
  699.      return (BOOL)GetAttr (MUIA_Window_Open);
  700. }
  701.  
  702. void CMUI_Window::SetOpen (BOOL value)
  703. {
  704.      SetAttr (MUIA_Window_Open, (ULONG)value);
  705. }
  706.  
  707. STRPTR CMUI_Window::PublicScreen (void) const
  708. {
  709.      return (STRPTR)GetAttr (MUIA_Window_PublicScreen);
  710. }
  711.  
  712. void CMUI_Window::SetPublicScreen (STRPTR value)
  713. {
  714.      SetAttr (MUIA_Window_PublicScreen, (ULONG)value);
  715. }
  716.  
  717. void CMUI_Window::SetRefWindow (Object * value)
  718. {
  719.      SetAttr (MUIA_Window_RefWindow, (ULONG)value);
  720. }
  721.  
  722. Object * CMUI_Window::RootObject (void) const
  723. {
  724.      return (Object *)GetAttr (MUIA_Window_RootObject);
  725. }
  726.  
  727. void CMUI_Window::SetRootObject (Object * value)
  728. {
  729.      SetAttr (MUIA_Window_RootObject, (ULONG)value);
  730. }
  731.  
  732. struct Screen * CMUI_Window::Screen (void) const
  733. {
  734.      return (struct Screen *)GetAttr (MUIA_Window_Screen);
  735. }
  736.  
  737. void CMUI_Window::SetScreen (struct Screen * value)
  738. {
  739.      SetAttr (MUIA_Window_Screen, (ULONG)value);
  740. }
  741.  
  742. STRPTR CMUI_Window::ScreenTitle (void) const
  743. {
  744.      return (STRPTR)GetAttr (MUIA_Window_ScreenTitle);
  745. }
  746.  
  747. void CMUI_Window::SetScreenTitle (STRPTR value)
  748. {
  749.      SetAttr (MUIA_Window_ScreenTitle, (ULONG)value);
  750. }
  751.  
  752. BOOL CMUI_Window::Sleep (void) const
  753. {
  754.      return (BOOL)GetAttr (MUIA_Window_Sleep);
  755. }
  756.  
  757. void CMUI_Window::SetSleep (BOOL value)
  758. {
  759.      SetAttr (MUIA_Window_Sleep, (ULONG)value);
  760. }
  761.  
  762. STRPTR CMUI_Window::Title (void) const
  763. {
  764.      return (STRPTR)GetAttr (MUIA_Window_Title);
  765. }
  766.  
  767. void CMUI_Window::SetTitle (STRPTR value)
  768. {
  769.      SetAttr (MUIA_Window_Title, (ULONG)value);
  770. }
  771.  
  772. LONG CMUI_Window::TopEdge (void) const
  773. {
  774.      return (LONG)GetAttr (MUIA_Window_TopEdge);
  775. }
  776.  
  777. BOOL CMUI_Window::UseBottomBorderScroller (void) const
  778. {
  779.      return (BOOL)GetAttr (MUIA_Window_UseBottomBorderScroller);
  780. }
  781.  
  782. void CMUI_Window::SetUseBottomBorderScroller (BOOL value)
  783. {
  784.      SetAttr (MUIA_Window_UseBottomBorderScroller, (ULONG)value);
  785. }
  786.  
  787. BOOL CMUI_Window::UseLeftBorderScroller (void) const
  788. {
  789.      return (BOOL)GetAttr (MUIA_Window_UseLeftBorderScroller);
  790. }
  791.  
  792. void CMUI_Window::SetUseLeftBorderScroller (BOOL value)
  793. {
  794.      SetAttr (MUIA_Window_UseLeftBorderScroller, (ULONG)value);
  795. }
  796.  
  797. BOOL CMUI_Window::UseRightBorderScroller (void) const
  798. {
  799.      return (BOOL)GetAttr (MUIA_Window_UseRightBorderScroller);
  800. }
  801.  
  802. void CMUI_Window::SetUseRightBorderScroller (BOOL value)
  803. {
  804.      SetAttr (MUIA_Window_UseRightBorderScroller, (ULONG)value);
  805. }
  806.  
  807. LONG CMUI_Window::Width (void) const
  808. {
  809.      return (LONG)GetAttr (MUIA_Window_Width);
  810. }
  811.  
  812. struct Window * CMUI_Window::Window (void) const
  813. {
  814.      return (struct Window *)GetAttr (MUIA_Window_Window);
  815. }
  816.  
  817. ULONG CMUI_Window::AddEventHandler (struct MUI_EventHandlerNode * ehnode)
  818. {
  819.     return DoMethod (MUIM_Window_AddEventHandler, ehnode);
  820. }
  821.  
  822. ULONG CMUI_Window::GetMenuCheck (ULONG MenuID)
  823. {
  824.     return DoMethod (MUIM_Window_GetMenuCheck, MenuID);
  825. }
  826.  
  827. ULONG CMUI_Window::GetMenuState (ULONG MenuID)
  828. {
  829.     return DoMethod (MUIM_Window_GetMenuState, MenuID);
  830. }
  831.  
  832. ULONG CMUI_Window::RemEventHandler (struct MUI_EventHandlerNode * ehnode)
  833. {
  834.     return DoMethod (MUIM_Window_RemEventHandler, ehnode);
  835. }
  836.  
  837. ULONG CMUI_Window::ScreenToBack (void)
  838. {
  839.     return DoMethod (MUIM_Window_ScreenToBack);
  840. }
  841.  
  842. ULONG CMUI_Window::ScreenToFront (void)
  843. {
  844.     return DoMethod (MUIM_Window_ScreenToFront);
  845. }
  846.  
  847. ULONG CMUI_Window::SetCycleChain (StartVarArgs sva, Object * obj, ...)
  848. {
  849.     sva.methodID = MUIM_Window_SetCycleChain;
  850.     return DoMethodA ((Msg)&sva);
  851. }
  852.  
  853. ULONG CMUI_Window::SetMenuCheck (ULONG MenuID, LONG stat)
  854. {
  855.     return DoMethod (MUIM_Window_SetMenuCheck, MenuID, stat);
  856. }
  857.  
  858. ULONG CMUI_Window::SetMenuState (ULONG MenuID, LONG stat)
  859. {
  860.     return DoMethod (MUIM_Window_SetMenuState, MenuID, stat);
  861. }
  862.  
  863. ULONG CMUI_Window::Snapshot (LONG flags)
  864. {
  865.     return DoMethod (MUIM_Window_Snapshot, flags);
  866. }
  867.  
  868. ULONG CMUI_Window::ToBack (void)
  869. {
  870.     return DoMethod (MUIM_Window_ToBack);
  871. }
  872.  
  873. ULONG CMUI_Window::ToFront (void)
  874. {
  875.     return DoMethod (MUIM_Window_ToFront);
  876. }
  877.  
  878. void CMUI_Area::SetBackground (LONG value)
  879. {
  880.      SetAttr (MUIA_Background, (ULONG)value);
  881. }
  882.  
  883. LONG CMUI_Area::BottomEdge (void) const
  884. {
  885.      return (LONG)GetAttr (MUIA_BottomEdge);
  886. }
  887.  
  888. Object * CMUI_Area::ContextMenu (void) const
  889. {
  890.      return (Object *)GetAttr (MUIA_ContextMenu);
  891. }
  892.  
  893. void CMUI_Area::SetContextMenu (Object * value)
  894. {
  895.      SetAttr (MUIA_ContextMenu, (ULONG)value);
  896. }
  897.  
  898. Object * CMUI_Area::ContextMenuTrigger (void) const
  899. {
  900.      return (Object *)GetAttr (MUIA_ContextMenuTrigger);
  901. }
  902.  
  903. char CMUI_Area::ControlChar (void) const
  904. {
  905.      return (char)GetAttr (MUIA_ControlChar);
  906. }
  907.  
  908. void CMUI_Area::SetControlChar (char value)
  909. {
  910.      SetAttr (MUIA_ControlChar, (ULONG)value);
  911. }
  912.  
  913. LONG CMUI_Area::CycleChain (void) const
  914. {
  915.      return (LONG)GetAttr (MUIA_CycleChain);
  916. }
  917.  
  918. void CMUI_Area::SetCycleChain (LONG value)
  919. {
  920.      SetAttr (MUIA_CycleChain, (ULONG)value);
  921. }
  922.  
  923. BOOL CMUI_Area::Disabled (void) const
  924. {
  925.      return (BOOL)GetAttr (MUIA_Disabled);
  926. }
  927.  
  928. void CMUI_Area::SetDisabled (BOOL value)
  929. {
  930.      SetAttr (MUIA_Disabled, (ULONG)value);
  931. }
  932.  
  933. BOOL CMUI_Area::Draggable (void) const
  934. {
  935.      return (BOOL)GetAttr (MUIA_Draggable);
  936. }
  937.  
  938. void CMUI_Area::SetDraggable (BOOL value)
  939. {
  940.      SetAttr (MUIA_Draggable, (ULONG)value);
  941. }
  942.  
  943. BOOL CMUI_Area::Dropable (void) const
  944. {
  945.      return (BOOL)GetAttr (MUIA_Dropable);
  946. }
  947.  
  948. void CMUI_Area::SetDropable (BOOL value)
  949. {
  950.      SetAttr (MUIA_Dropable, (ULONG)value);
  951. }
  952.  
  953. ULONG CMUI_Area::ExportID (void) const
  954. {
  955.      return (ULONG)GetAttr (MUIA_ExportID);
  956. }
  957.  
  958. void CMUI_Area::SetExportID (ULONG value)
  959. {
  960.      SetAttr (MUIA_ExportID, (ULONG)value);
  961. }
  962.  
  963. void CMUI_Area::SetFillArea (BOOL value)
  964. {
  965.      SetAttr (MUIA_FillArea, (ULONG)value);
  966. }
  967.  
  968. struct TextFont * CMUI_Area::Font (void) const
  969. {
  970.      return (struct TextFont *)GetAttr (MUIA_Font);
  971. }
  972.  
  973. LONG CMUI_Area::Height (void) const
  974. {
  975.      return (LONG)GetAttr (MUIA_Height);
  976. }
  977.  
  978. LONG CMUI_Area::HorizDisappear (void) const
  979. {
  980.      return (LONG)GetAttr (MUIA_HorizDisappear);
  981. }
  982.  
  983. void CMUI_Area::SetHorizDisappear (LONG value)
  984. {
  985.      SetAttr (MUIA_HorizDisappear, (ULONG)value);
  986. }
  987.  
  988. WORD CMUI_Area::HorizWeight (void) const
  989. {
  990.      return (WORD)GetAttr (MUIA_HorizWeight);
  991. }
  992.  
  993. void CMUI_Area::SetHorizWeight (WORD value)
  994. {
  995.      SetAttr (MUIA_HorizWeight, (ULONG)value);
  996. }
  997.  
  998. LONG CMUI_Area::InnerBottom (void) const
  999. {
  1000.      return (LONG)GetAttr (MUIA_InnerBottom);
  1001. }
  1002.  
  1003. LONG CMUI_Area::InnerLeft (void) const
  1004. {
  1005.      return (LONG)GetAttr (MUIA_InnerLeft);
  1006. }
  1007.  
  1008. LONG CMUI_Area::InnerRight (void) const
  1009. {
  1010.      return (LONG)GetAttr (MUIA_InnerRight);
  1011. }
  1012.  
  1013. LONG CMUI_Area::InnerTop (void) const
  1014. {
  1015.      return (LONG)GetAttr (MUIA_InnerTop);
  1016. }
  1017.  
  1018. LONG CMUI_Area::LeftEdge (void) const
  1019. {
  1020.      return (LONG)GetAttr (MUIA_LeftEdge);
  1021. }
  1022.  
  1023. BOOL CMUI_Area::Pressed (void) const
  1024. {
  1025.      return (BOOL)GetAttr (MUIA_Pressed);
  1026. }
  1027.  
  1028. LONG CMUI_Area::RightEdge (void) const
  1029. {
  1030.      return (LONG)GetAttr (MUIA_RightEdge);
  1031. }
  1032.  
  1033. BOOL CMUI_Area::Selected (void) const
  1034. {
  1035.      return (BOOL)GetAttr (MUIA_Selected);
  1036. }
  1037.  
  1038. void CMUI_Area::SetSelected (BOOL value)
  1039. {
  1040.      SetAttr (MUIA_Selected, (ULONG)value);
  1041. }
  1042.  
  1043. STRPTR CMUI_Area::ShortHelp (void) const
  1044. {
  1045.      return (STRPTR)GetAttr (MUIA_ShortHelp);
  1046. }
  1047.  
  1048. void CMUI_Area::SetShortHelp (STRPTR value)
  1049. {
  1050.      SetAttr (MUIA_ShortHelp, (ULONG)value);
  1051. }
  1052.  
  1053. BOOL CMUI_Area::ShowMe (void) const
  1054. {
  1055.      return (BOOL)GetAttr (MUIA_ShowMe);
  1056. }
  1057.  
  1058. void CMUI_Area::SetShowMe (BOOL value)
  1059. {
  1060.      SetAttr (MUIA_ShowMe, (ULONG)value);
  1061. }
  1062.  
  1063. LONG CMUI_Area::Timer (void) const
  1064. {
  1065.      return (LONG)GetAttr (MUIA_Timer);
  1066. }
  1067.  
  1068. LONG CMUI_Area::TopEdge (void) const
  1069. {
  1070.      return (LONG)GetAttr (MUIA_TopEdge);
  1071. }
  1072.  
  1073. LONG CMUI_Area::VertDisappear (void) const
  1074. {
  1075.      return (LONG)GetAttr (MUIA_VertDisappear);
  1076. }
  1077.  
  1078. void CMUI_Area::SetVertDisappear (LONG value)
  1079. {
  1080.      SetAttr (MUIA_VertDisappear, (ULONG)value);
  1081. }
  1082.  
  1083. WORD CMUI_Area::VertWeight (void) const
  1084. {
  1085.      return (WORD)GetAttr (MUIA_VertWeight);
  1086. }
  1087.  
  1088. void CMUI_Area::SetVertWeight (WORD value)
  1089. {
  1090.      SetAttr (MUIA_VertWeight, (ULONG)value);
  1091. }
  1092.  
  1093. LONG CMUI_Area::Width (void) const
  1094. {
  1095.      return (LONG)GetAttr (MUIA_Width);
  1096. }
  1097.  
  1098. struct Window * CMUI_Area::Window (void) const
  1099. {
  1100.      return (struct Window *)GetAttr (MUIA_Window);
  1101. }
  1102.  
  1103. Object * CMUI_Area::WindowObject (void) const
  1104. {
  1105.      return (Object *)GetAttr (MUIA_WindowObject);
  1106. }
  1107.  
  1108. ULONG CMUI_Area::AskMinMax (struct MUI_MinMax * MinMaxInfo)
  1109. {
  1110.     return DoMethod (MUIM_AskMinMax, MinMaxInfo);
  1111. }
  1112.  
  1113. ULONG CMUI_Area::Cleanup (void)
  1114. {
  1115.     return DoMethod (MUIM_Cleanup);
  1116. }
  1117.  
  1118. ULONG CMUI_Area::ContextMenuBuild (LONG mx, LONG my)
  1119. {
  1120.     return DoMethod (MUIM_ContextMenuBuild, mx, my);
  1121. }
  1122.  
  1123. ULONG CMUI_Area::ContextMenuChoice (Object * item)
  1124. {
  1125.     return DoMethod (MUIM_ContextMenuChoice, item);
  1126. }
  1127.  
  1128. ULONG CMUI_Area::CreateBubble (LONG x, LONG y, char * txt, ULONG flags)
  1129. {
  1130.     return DoMethod (MUIM_CreateBubble, x, y, txt, flags);
  1131. }
  1132.  
  1133. ULONG CMUI_Area::CreateShortHelp (LONG mx, LONG my)
  1134. {
  1135.     return DoMethod (MUIM_CreateShortHelp, mx, my);
  1136. }
  1137.  
  1138. ULONG CMUI_Area::DeleteBubble (APTR bubble)
  1139. {
  1140.     return DoMethod (MUIM_DeleteBubble, bubble);
  1141. }
  1142.  
  1143. ULONG CMUI_Area::DeleteShortHelp (STRPTR help)
  1144. {
  1145.     return DoMethod (MUIM_DeleteShortHelp, help);
  1146. }
  1147.  
  1148. ULONG CMUI_Area::DragBegin (Object * obj)
  1149. {
  1150.     return DoMethod (MUIM_DragBegin, obj);
  1151. }
  1152.  
  1153. ULONG CMUI_Area::DragDrop (Object * obj, LONG x, LONG y)
  1154. {
  1155.     return DoMethod (MUIM_DragDrop, obj, x, y);
  1156. }
  1157.  
  1158. ULONG CMUI_Area::DragFinish (Object * obj)
  1159. {
  1160.     return DoMethod (MUIM_DragFinish, obj);
  1161. }
  1162.  
  1163. ULONG CMUI_Area::DragQuery (Object * obj)
  1164. {
  1165.     return DoMethod (MUIM_DragQuery, obj);
  1166. }
  1167.  
  1168. ULONG CMUI_Area::DragReport (Object * obj, LONG x, LONG y, LONG update)
  1169. {
  1170.     return DoMethod (MUIM_DragReport, obj, x, y, update);
  1171. }
  1172.  
  1173. ULONG CMUI_Area::Draw (ULONG flags)
  1174. {
  1175.     return DoMethod (MUIM_Draw, flags);
  1176. }
  1177.  
  1178. ULONG CMUI_Area::DrawBackground (LONG left, LONG top, LONG width, LONG height, LONG xoffset, LONG yoffset, LONG flags)
  1179. {
  1180.     return DoMethod (MUIM_DrawBackground, left, top, width, height, xoffset, yoffset, flags);
  1181. }
  1182.  
  1183. ULONG CMUI_Area::HandleEvent (struct IntuiMessage * imsg, LONG muikey)
  1184. {
  1185.     return DoMethod (MUIM_HandleEvent, imsg, muikey);
  1186. }
  1187.  
  1188. ULONG CMUI_Area::HandleInput (struct IntuiMessage * imsg, LONG muikey)
  1189. {
  1190.     return DoMethod (MUIM_HandleInput, imsg, muikey);
  1191. }
  1192.  
  1193. ULONG CMUI_Area::Hide (void)
  1194. {
  1195.     return DoMethod (MUIM_Hide);
  1196. }
  1197.  
  1198. ULONG CMUI_Area::Setup (struct MUI_RenderInfo * RenderInfo)
  1199. {
  1200.     return DoMethod (MUIM_Setup, RenderInfo);
  1201. }
  1202.  
  1203. ULONG CMUI_Area::Show (void)
  1204. {
  1205.     return DoMethod (MUIM_Show);
  1206. }
  1207.  
  1208. STRPTR CMUI_Rectangle::BarTitle (void) const
  1209. {
  1210.      return (STRPTR)GetAttr (MUIA_Rectangle_BarTitle);
  1211. }
  1212.  
  1213. BOOL CMUI_Rectangle::HBar (void) const
  1214. {
  1215.      return (BOOL)GetAttr (MUIA_Rectangle_HBar);
  1216. }
  1217.  
  1218. BOOL CMUI_Rectangle::VBar (void) const
  1219. {
  1220.      return (BOOL)GetAttr (MUIA_Rectangle_VBar);
  1221. }
  1222.  
  1223. void CMUI_Image::SetState (LONG value)
  1224. {
  1225.      SetAttr (MUIA_Image_State, (ULONG)value);
  1226. }
  1227.  
  1228. struct BitMap * CMUI_Bitmap::Bitmap (void) const
  1229. {
  1230.      return (struct BitMap *)GetAttr (MUIA_Bitmap_Bitmap);
  1231. }
  1232.  
  1233. void CMUI_Bitmap::SetBitmap (struct BitMap * value)
  1234. {
  1235.      SetAttr (MUIA_Bitmap_Bitmap, (ULONG)value);
  1236. }
  1237.  
  1238. LONG CMUI_Bitmap::Height (void) const
  1239. {
  1240.      return (LONG)GetAttr (MUIA_Bitmap_Height);
  1241. }
  1242.  
  1243. void CMUI_Bitmap::SetHeight (LONG value)
  1244. {
  1245.      SetAttr (MUIA_Bitmap_Height, (ULONG)value);
  1246. }
  1247.  
  1248. UBYTE * CMUI_Bitmap::MappingTable (void) const
  1249. {
  1250.      return (UBYTE *)GetAttr (MUIA_Bitmap_MappingTable);
  1251. }
  1252.  
  1253. void CMUI_Bitmap::SetMappingTable (UBYTE * value)
  1254. {
  1255.      SetAttr (MUIA_Bitmap_MappingTable, (ULONG)value);
  1256. }
  1257.  
  1258. LONG CMUI_Bitmap::Precision (void) const
  1259. {
  1260.      return (LONG)GetAttr (MUIA_Bitmap_Precision);
  1261. }
  1262.  
  1263. void CMUI_Bitmap::SetPrecision (LONG value)
  1264. {
  1265.      SetAttr (MUIA_Bitmap_Precision, (ULONG)value);
  1266. }
  1267.  
  1268. struct BitMap * CMUI_Bitmap::RemappedBitmap (void) const
  1269. {
  1270.      return (struct BitMap *)GetAttr (MUIA_Bitmap_RemappedBitmap);
  1271. }
  1272.  
  1273. ULONG * CMUI_Bitmap::SourceColors (void) const
  1274. {
  1275.      return (ULONG *)GetAttr (MUIA_Bitmap_SourceColors);
  1276. }
  1277.  
  1278. void CMUI_Bitmap::SetSourceColors (ULONG * value)
  1279. {
  1280.      SetAttr (MUIA_Bitmap_SourceColors, (ULONG)value);
  1281. }
  1282.  
  1283. LONG CMUI_Bitmap::Transparent (void) const
  1284. {
  1285.      return (LONG)GetAttr (MUIA_Bitmap_Transparent);
  1286. }
  1287.  
  1288. void CMUI_Bitmap::SetTransparent (LONG value)
  1289. {
  1290.      SetAttr (MUIA_Bitmap_Transparent, (ULONG)value);
  1291. }
  1292.  
  1293. LONG CMUI_Bitmap::Width (void) const
  1294. {
  1295.      return (LONG)GetAttr (MUIA_Bitmap_Width);
  1296. }
  1297.  
  1298. void CMUI_Bitmap::SetWidth (LONG value)
  1299. {
  1300.      SetAttr (MUIA_Bitmap_Width, (ULONG)value);
  1301. }
  1302.  
  1303. UBYTE * CMUI_Bodychunk::Body (void) const
  1304. {
  1305.      return (UBYTE *)GetAttr (MUIA_Bodychunk_Body);
  1306. }
  1307.  
  1308. void CMUI_Bodychunk::SetBody (UBYTE * value)
  1309. {
  1310.      SetAttr (MUIA_Bodychunk_Body, (ULONG)value);
  1311. }
  1312.  
  1313. UBYTE CMUI_Bodychunk::Compression (void) const
  1314. {
  1315.      return (UBYTE)GetAttr (MUIA_Bodychunk_Compression);
  1316. }
  1317.  
  1318. void CMUI_Bodychunk::SetCompression (UBYTE value)
  1319. {
  1320.      SetAttr (MUIA_Bodychunk_Compression, (ULONG)value);
  1321. }
  1322.  
  1323. LONG CMUI_Bodychunk::Depth (void) const
  1324. {
  1325.      return (LONG)GetAttr (MUIA_Bodychunk_Depth);
  1326. }
  1327.  
  1328. void CMUI_Bodychunk::SetDepth (LONG value)
  1329. {
  1330.      SetAttr (MUIA_Bodychunk_Depth, (ULONG)value);
  1331. }
  1332.  
  1333. UBYTE CMUI_Bodychunk::Masking (void) const
  1334. {
  1335.      return (UBYTE)GetAttr (MUIA_Bodychunk_Masking);
  1336. }
  1337.  
  1338. void CMUI_Bodychunk::SetMasking (UBYTE value)
  1339. {
  1340.      SetAttr (MUIA_Bodychunk_Masking, (ULONG)value);
  1341. }
  1342.  
  1343. STRPTR CMUI_Text::Contents (void) const
  1344. {
  1345.      return (STRPTR)GetAttr (MUIA_Text_Contents);
  1346. }
  1347.  
  1348. void CMUI_Text::SetContents (STRPTR value)
  1349. {
  1350.      SetAttr (MUIA_Text_Contents, (ULONG)value);
  1351. }
  1352.  
  1353. STRPTR CMUI_Text::PreParse (void) const
  1354. {
  1355.      return (STRPTR)GetAttr (MUIA_Text_PreParse);
  1356. }
  1357.  
  1358. void CMUI_Text::SetPreParse (STRPTR value)
  1359. {
  1360.      SetAttr (MUIA_Text_PreParse, (ULONG)value);
  1361. }
  1362.  
  1363. struct Gadget * CMUI_Gadget::Gadget (void) const
  1364. {
  1365.      return (struct Gadget *)GetAttr (MUIA_Gadget_Gadget);
  1366. }
  1367.  
  1368. STRPTR CMUI_String::Accept (void) const
  1369. {
  1370.      return (STRPTR)GetAttr (MUIA_String_Accept);
  1371. }
  1372.  
  1373. void CMUI_String::SetAccept (STRPTR value)
  1374. {
  1375.      SetAttr (MUIA_String_Accept, (ULONG)value);
  1376. }
  1377.  
  1378. STRPTR CMUI_String::Acknowledge (void) const
  1379. {
  1380.      return (STRPTR)GetAttr (MUIA_String_Acknowledge);
  1381. }
  1382.  
  1383. BOOL CMUI_String::AdvanceOnCR (void) const
  1384. {
  1385.      return (BOOL)GetAttr (MUIA_String_AdvanceOnCR);
  1386. }
  1387.  
  1388. void CMUI_String::SetAdvanceOnCR (BOOL value)
  1389. {
  1390.      SetAttr (MUIA_String_AdvanceOnCR, (ULONG)value);
  1391. }
  1392.  
  1393. Object * CMUI_String::AttachedList (void) const
  1394. {
  1395.      return (Object *)GetAttr (MUIA_String_AttachedList);
  1396. }
  1397.  
  1398. void CMUI_String::SetAttachedList (Object * value)
  1399. {
  1400.      SetAttr (MUIA_String_AttachedList, (ULONG)value);
  1401. }
  1402.  
  1403. LONG CMUI_String::BufferPos (void) const
  1404. {
  1405.      return (LONG)GetAttr (MUIA_String_BufferPos);
  1406. }
  1407.  
  1408. void CMUI_String::SetBufferPos (LONG value)
  1409. {
  1410.      SetAttr (MUIA_String_BufferPos, (ULONG)value);
  1411. }
  1412.  
  1413. STRPTR CMUI_String::Contents (void) const
  1414. {
  1415.      return (STRPTR)GetAttr (MUIA_String_Contents);
  1416. }
  1417.  
  1418. void CMUI_String::SetContents (STRPTR value)
  1419. {
  1420.      SetAttr (MUIA_String_Contents, (ULONG)value);
  1421. }
  1422.  
  1423. LONG CMUI_String::DisplayPos (void) const
  1424. {
  1425.      return (LONG)GetAttr (MUIA_String_DisplayPos);
  1426. }
  1427.  
  1428. void CMUI_String::SetDisplayPos (LONG value)
  1429. {
  1430.      SetAttr (MUIA_String_DisplayPos, (ULONG)value);
  1431. }
  1432.  
  1433. struct Hook * CMUI_String::EditHook (void) const
  1434. {
  1435.      return (struct Hook *)GetAttr (MUIA_String_EditHook);
  1436. }
  1437.  
  1438. void CMUI_String::SetEditHook (struct Hook * value)
  1439. {
  1440.      SetAttr (MUIA_String_EditHook, (ULONG)value);
  1441. }
  1442.  
  1443. LONG CMUI_String::Format (void) const
  1444. {
  1445.      return (LONG)GetAttr (MUIA_String_Format);
  1446. }
  1447.  
  1448. ULONG CMUI_String::Integer (void) const
  1449. {
  1450.      return (ULONG)GetAttr (MUIA_String_Integer);
  1451. }
  1452.  
  1453. void CMUI_String::SetInteger (ULONG value)
  1454. {
  1455.      SetAttr (MUIA_String_Integer, (ULONG)value);
  1456. }
  1457.  
  1458. BOOL CMUI_String::LonelyEditHook (void) const
  1459. {
  1460.      return (BOOL)GetAttr (MUIA_String_LonelyEditHook);
  1461. }
  1462.  
  1463. void CMUI_String::SetLonelyEditHook (BOOL value)
  1464. {
  1465.      SetAttr (MUIA_String_LonelyEditHook, (ULONG)value);
  1466. }
  1467.  
  1468. LONG CMUI_String::MaxLen (void) const
  1469. {
  1470.      return (LONG)GetAttr (MUIA_String_MaxLen);
  1471. }
  1472.  
  1473. STRPTR CMUI_String::Reject (void) const
  1474. {
  1475.      return (STRPTR)GetAttr (MUIA_String_Reject);
  1476. }
  1477.  
  1478. void CMUI_String::SetReject (STRPTR value)
  1479. {
  1480.      SetAttr (MUIA_String_Reject, (ULONG)value);
  1481. }
  1482.  
  1483. BOOL CMUI_String::Secret (void) const
  1484. {
  1485.      return (BOOL)GetAttr (MUIA_String_Secret);
  1486. }
  1487.  
  1488. struct IClass * CMUI_Boopsi::Class (void) const
  1489. {
  1490.      return (struct IClass *)GetAttr (MUIA_Boopsi_Class);
  1491. }
  1492.  
  1493. void CMUI_Boopsi::SetClass (struct IClass * value)
  1494. {
  1495.      SetAttr (MUIA_Boopsi_Class, (ULONG)value);
  1496. }
  1497.  
  1498. char * CMUI_Boopsi::ClassID (void) const
  1499. {
  1500.      return (char *)GetAttr (MUIA_Boopsi_ClassID);
  1501. }
  1502.  
  1503. void CMUI_Boopsi::SetClassID (char * value)
  1504. {
  1505.      SetAttr (MUIA_Boopsi_ClassID, (ULONG)value);
  1506. }
  1507.  
  1508. ULONG CMUI_Boopsi::MaxHeight (void) const
  1509. {
  1510.      return (ULONG)GetAttr (MUIA_Boopsi_MaxHeight);
  1511. }
  1512.  
  1513. void CMUI_Boopsi::SetMaxHeight (ULONG value)
  1514. {
  1515.      SetAttr (MUIA_Boopsi_MaxHeight, (ULONG)value);
  1516. }
  1517.  
  1518. ULONG CMUI_Boopsi::MaxWidth (void) const
  1519. {
  1520.      return (ULONG)GetAttr (MUIA_Boopsi_MaxWidth);
  1521. }
  1522.  
  1523. void CMUI_Boopsi::SetMaxWidth (ULONG value)
  1524. {
  1525.      SetAttr (MUIA_Boopsi_MaxWidth, (ULONG)value);
  1526. }
  1527.  
  1528. ULONG CMUI_Boopsi::MinHeight (void) const
  1529. {
  1530.      return (ULONG)GetAttr (MUIA_Boopsi_MinHeight);
  1531. }
  1532.  
  1533. void CMUI_Boopsi::SetMinHeight (ULONG value)
  1534. {
  1535.      SetAttr (MUIA_Boopsi_MinHeight, (ULONG)value);
  1536. }
  1537.  
  1538. ULONG CMUI_Boopsi::MinWidth (void) const
  1539. {
  1540.      return (ULONG)GetAttr (MUIA_Boopsi_MinWidth);
  1541. }
  1542.  
  1543. void CMUI_Boopsi::SetMinWidth (ULONG value)
  1544. {
  1545.      SetAttr (MUIA_Boopsi_MinWidth, (ULONG)value);
  1546. }
  1547.  
  1548. Object * CMUI_Boopsi::BoopsiObject (void) const
  1549. {
  1550.      return (Object *)GetAttr (MUIA_Boopsi_Object);
  1551. }
  1552.  
  1553. ULONG CMUI_Boopsi::TagDrawInfo (void) const
  1554. {
  1555.      return (ULONG)GetAttr (MUIA_Boopsi_TagDrawInfo);
  1556. }
  1557.  
  1558. void CMUI_Boopsi::SetTagDrawInfo (ULONG value)
  1559. {
  1560.      SetAttr (MUIA_Boopsi_TagDrawInfo, (ULONG)value);
  1561. }
  1562.  
  1563. ULONG CMUI_Boopsi::TagScreen (void) const
  1564. {
  1565.      return (ULONG)GetAttr (MUIA_Boopsi_TagScreen);
  1566. }
  1567.  
  1568. void CMUI_Boopsi::SetTagScreen (ULONG value)
  1569. {
  1570.      SetAttr (MUIA_Boopsi_TagScreen, (ULONG)value);
  1571. }
  1572.  
  1573. ULONG CMUI_Boopsi::TagWindow (void) const
  1574. {
  1575.      return (ULONG)GetAttr (MUIA_Boopsi_TagWindow);
  1576. }
  1577.  
  1578. void CMUI_Boopsi::SetTagWindow (ULONG value)
  1579. {
  1580.      SetAttr (MUIA_Boopsi_TagWindow, (ULONG)value);
  1581. }
  1582.  
  1583. LONG CMUI_Prop::Entries (void) const
  1584. {
  1585.      return (LONG)GetAttr (MUIA_Prop_Entries);
  1586. }
  1587.  
  1588. void CMUI_Prop::SetEntries (LONG value)
  1589. {
  1590.      SetAttr (MUIA_Prop_Entries, (ULONG)value);
  1591. }
  1592.  
  1593. LONG CMUI_Prop::First (void) const
  1594. {
  1595.      return (LONG)GetAttr (MUIA_Prop_First);
  1596. }
  1597.  
  1598. void CMUI_Prop::SetFirst (LONG value)
  1599. {
  1600.      SetAttr (MUIA_Prop_First, (ULONG)value);
  1601. }
  1602.  
  1603. BOOL CMUI_Prop::Horiz (void) const
  1604. {
  1605.      return (BOOL)GetAttr (MUIA_Prop_Horiz);
  1606. }
  1607.  
  1608. BOOL CMUI_Prop::Slider (void) const
  1609. {
  1610.      return (BOOL)GetAttr (MUIA_Prop_Slider);
  1611. }
  1612.  
  1613. void CMUI_Prop::SetSlider (BOOL value)
  1614. {
  1615.      SetAttr (MUIA_Prop_Slider, (ULONG)value);
  1616. }
  1617.  
  1618. LONG CMUI_Prop::Visible (void) const
  1619. {
  1620.      return (LONG)GetAttr (MUIA_Prop_Visible);
  1621. }
  1622.  
  1623. void CMUI_Prop::SetVisible (LONG value)
  1624. {
  1625.      SetAttr (MUIA_Prop_Visible, (ULONG)value);
  1626. }
  1627.  
  1628. ULONG CMUI_Prop::Decrease (LONG amount)
  1629. {
  1630.     return DoMethod (MUIM_Prop_Decrease, amount);
  1631. }
  1632.  
  1633. ULONG CMUI_Prop::Increase (LONG amount)
  1634. {
  1635.     return DoMethod (MUIM_Prop_Increase, amount);
  1636. }
  1637.  
  1638. LONG CMUI_Gauge::Current (void) const
  1639. {
  1640.      return (LONG)GetAttr (MUIA_Gauge_Current);
  1641. }
  1642.  
  1643. void CMUI_Gauge::SetCurrent (LONG value)
  1644. {
  1645.      SetAttr (MUIA_Gauge_Current, (ULONG)value);
  1646. }
  1647.  
  1648. BOOL CMUI_Gauge::Divide (void) const
  1649. {
  1650.      return (BOOL)GetAttr (MUIA_Gauge_Divide);
  1651. }
  1652.  
  1653. void CMUI_Gauge::SetDivide (BOOL value)
  1654. {
  1655.      SetAttr (MUIA_Gauge_Divide, (ULONG)value);
  1656. }
  1657.  
  1658. STRPTR CMUI_Gauge::InfoText (void) const
  1659. {
  1660.      return (STRPTR)GetAttr (MUIA_Gauge_InfoText);
  1661. }
  1662.  
  1663. void CMUI_Gauge::SetInfoText (STRPTR value)
  1664. {
  1665.      SetAttr (MUIA_Gauge_InfoText, (ULONG)value);
  1666. }
  1667.  
  1668. LONG CMUI_Gauge::Max (void) const
  1669. {
  1670.      return (LONG)GetAttr (MUIA_Gauge_Max);
  1671. }
  1672.  
  1673. void CMUI_Gauge::SetMax (LONG value)
  1674. {
  1675.      SetAttr (MUIA_Gauge_Max, (ULONG)value);
  1676. }
  1677.  
  1678. BOOL CMUI_Scale::Horiz (void) const
  1679. {
  1680.      return (BOOL)GetAttr (MUIA_Scale_Horiz);
  1681. }
  1682.  
  1683. void CMUI_Scale::SetHoriz (BOOL value)
  1684. {
  1685.      SetAttr (MUIA_Scale_Horiz, (ULONG)value);
  1686. }
  1687.  
  1688. ULONG CMUI_Colorfield::Blue (void) const
  1689. {
  1690.      return (ULONG)GetAttr (MUIA_Colorfield_Blue);
  1691. }
  1692.  
  1693. void CMUI_Colorfield::SetBlue (ULONG value)
  1694. {
  1695.      SetAttr (MUIA_Colorfield_Blue, (ULONG)value);
  1696. }
  1697.  
  1698. ULONG CMUI_Colorfield::Green (void) const
  1699. {
  1700.      return (ULONG)GetAttr (MUIA_Colorfield_Green);
  1701. }
  1702.  
  1703. void CMUI_Colorfield::SetGreen (ULONG value)
  1704. {
  1705.      SetAttr (MUIA_Colorfield_Green, (ULONG)value);
  1706. }
  1707.  
  1708. ULONG CMUI_Colorfield::Pen (void) const
  1709. {
  1710.      return (ULONG)GetAttr (MUIA_Colorfield_Pen);
  1711. }
  1712.  
  1713. ULONG CMUI_Colorfield::Red (void) const
  1714. {
  1715.      return (ULONG)GetAttr (MUIA_Colorfield_Red);
  1716. }
  1717.  
  1718. void CMUI_Colorfield::SetRed (ULONG value)
  1719. {
  1720.      SetAttr (MUIA_Colorfield_Red, (ULONG)value);
  1721. }
  1722.  
  1723. ULONG * CMUI_Colorfield::RGB (void) const
  1724. {
  1725.      return (ULONG *)GetAttr (MUIA_Colorfield_RGB);
  1726. }
  1727.  
  1728. void CMUI_Colorfield::SetRGB (ULONG * value)
  1729. {
  1730.      SetAttr (MUIA_Colorfield_RGB, (ULONG)value);
  1731. }
  1732.  
  1733. LONG CMUI_List::Active (void) const
  1734. {
  1735.      return (LONG)GetAttr (MUIA_List_Active);
  1736. }
  1737.  
  1738. void CMUI_List::SetActive (LONG value)
  1739. {
  1740.      SetAttr (MUIA_List_Active, (ULONG)value);
  1741. }
  1742.  
  1743. BOOL CMUI_List::AutoVisible (void) const
  1744. {
  1745.      return (BOOL)GetAttr (MUIA_List_AutoVisible);
  1746. }
  1747.  
  1748. void CMUI_List::SetAutoVisible (BOOL value)
  1749. {
  1750.      SetAttr (MUIA_List_AutoVisible, (ULONG)value);
  1751. }
  1752.  
  1753. void CMUI_List::SetCompareHook (struct Hook * value)
  1754. {
  1755.      SetAttr (MUIA_List_CompareHook, (ULONG)value);
  1756. }
  1757.  
  1758. void CMUI_List::SetConstructHook (struct Hook * value)
  1759. {
  1760.      SetAttr (MUIA_List_ConstructHook, (ULONG)value);
  1761. }
  1762.  
  1763. void CMUI_List::SetDestructHook (struct Hook * value)
  1764. {
  1765.      SetAttr (MUIA_List_DestructHook, (ULONG)value);
  1766. }
  1767.  
  1768. void CMUI_List::SetDisplayHook (struct Hook * value)
  1769. {
  1770.      SetAttr (MUIA_List_DisplayHook, (ULONG)value);
  1771. }
  1772.  
  1773. BOOL CMUI_List::DragSortable (void) const
  1774. {
  1775.      return (BOOL)GetAttr (MUIA_List_DragSortable);
  1776. }
  1777.  
  1778. void CMUI_List::SetDragSortable (BOOL value)
  1779. {
  1780.      SetAttr (MUIA_List_DragSortable, (ULONG)value);
  1781. }
  1782.  
  1783. LONG CMUI_List::DropMark (void) const
  1784. {
  1785.      return (LONG)GetAttr (MUIA_List_DropMark);
  1786. }
  1787.  
  1788. LONG CMUI_List::Entries (void) const
  1789. {
  1790.      return (LONG)GetAttr (MUIA_List_Entries);
  1791. }
  1792.  
  1793. LONG CMUI_List::First (void) const
  1794. {
  1795.      return (LONG)GetAttr (MUIA_List_First);
  1796. }
  1797.  
  1798. STRPTR CMUI_List::Format (void) const
  1799. {
  1800.      return (STRPTR)GetAttr (MUIA_List_Format);
  1801. }
  1802.  
  1803. void CMUI_List::SetFormat (STRPTR value)
  1804. {
  1805.      SetAttr (MUIA_List_Format, (ULONG)value);
  1806. }
  1807.  
  1808. LONG CMUI_List::InsertPosition (void) const
  1809. {
  1810.      return (LONG)GetAttr (MUIA_List_InsertPosition);
  1811. }
  1812.  
  1813. void CMUI_List::SetMultiTestHook (struct Hook * value)
  1814. {
  1815.      SetAttr (MUIA_List_MultiTestHook, (ULONG)value);
  1816. }
  1817.  
  1818. void CMUI_List::SetQuiet (BOOL value)
  1819. {
  1820.      SetAttr (MUIA_List_Quiet, (ULONG)value);
  1821. }
  1822.  
  1823. BOOL CMUI_List::ShowDropMarks (void) const
  1824. {
  1825.      return (BOOL)GetAttr (MUIA_List_ShowDropMarks);
  1826. }
  1827.  
  1828. void CMUI_List::SetShowDropMarks (BOOL value)
  1829. {
  1830.      SetAttr (MUIA_List_ShowDropMarks, (ULONG)value);
  1831. }
  1832.  
  1833. char * CMUI_List::Title (void) const
  1834. {
  1835.      return (char *)GetAttr (MUIA_List_Title);
  1836. }
  1837.  
  1838. void CMUI_List::SetTitle (char * value)
  1839. {
  1840.      SetAttr (MUIA_List_Title, (ULONG)value);
  1841. }
  1842.  
  1843. LONG CMUI_List::Visible (void) const
  1844. {
  1845.      return (LONG)GetAttr (MUIA_List_Visible);
  1846. }
  1847.  
  1848. ULONG CMUI_List::Clear (void)
  1849. {
  1850.     return DoMethod (MUIM_List_Clear);
  1851. }
  1852.  
  1853. ULONG CMUI_List::CreateImage (Object * obj, ULONG flags)
  1854. {
  1855.     return DoMethod (MUIM_List_CreateImage, obj, flags);
  1856. }
  1857.  
  1858. ULONG CMUI_List::DeleteImage (APTR listimg)
  1859. {
  1860.     return DoMethod (MUIM_List_DeleteImage, listimg);
  1861. }
  1862.  
  1863. ULONG CMUI_List::Exchange (LONG pos1, LONG pos2)
  1864. {
  1865.     return DoMethod (MUIM_List_Exchange, pos1, pos2);
  1866. }
  1867.  
  1868. ULONG CMUI_List::GetEntry (LONG pos, APTR * entry)
  1869. {
  1870.     return DoMethod (MUIM_List_GetEntry, pos, entry);
  1871. }
  1872.  
  1873. ULONG CMUI_List::Insert (APTR * entries, LONG count, LONG pos)
  1874. {
  1875.     return DoMethod (MUIM_List_Insert, entries, count, pos);
  1876. }
  1877.  
  1878. ULONG CMUI_List::InsertSingle (APTR entry, LONG pos)
  1879. {
  1880.     return DoMethod (MUIM_List_InsertSingle, entry, pos);
  1881. }
  1882.  
  1883. ULONG CMUI_List::Jump (LONG pos)
  1884. {
  1885.     return DoMethod (MUIM_List_Jump, pos);
  1886. }
  1887.  
  1888. ULONG CMUI_List::Move (LONG from, LONG to)
  1889. {
  1890.     return DoMethod (MUIM_List_Move, from, to);
  1891. }
  1892.  
  1893. ULONG CMUI_List::NextSelected (LONG * pos)
  1894. {
  1895.     return DoMethod (MUIM_List_NextSelected, pos);
  1896. }
  1897.  
  1898. ULONG CMUI_List::Redraw (LONG pos)
  1899. {
  1900.     return DoMethod (MUIM_List_Redraw, pos);
  1901. }
  1902.  
  1903. ULONG CMUI_List::Remove (LONG pos)
  1904. {
  1905.     return DoMethod (MUIM_List_Remove, pos);
  1906. }
  1907.  
  1908. ULONG CMUI_List::Select (LONG pos, LONG seltype, LONG * state)
  1909. {
  1910.     return DoMethod (MUIM_List_Select, pos, seltype, state);
  1911. }
  1912.  
  1913. ULONG CMUI_List::Sort (void)
  1914. {
  1915.     return DoMethod (MUIM_List_Sort);
  1916. }
  1917.  
  1918. ULONG CMUI_List::TestPos (LONG x, LONG y, struct MUI_List_TestPos_Result * res)
  1919. {
  1920.     return DoMethod (MUIM_List_TestPos, x, y, res);
  1921. }
  1922.  
  1923. BOOL CMUI_Floattext::Justify (void) const
  1924. {
  1925.      return (BOOL)GetAttr (MUIA_Floattext_Justify);
  1926. }
  1927.  
  1928. void CMUI_Floattext::SetJustify (BOOL value)
  1929. {
  1930.      SetAttr (MUIA_Floattext_Justify, (ULONG)value);
  1931. }
  1932.  
  1933. void CMUI_Floattext::SetSkipChars (STRPTR value)
  1934. {
  1935.      SetAttr (MUIA_Floattext_SkipChars, (ULONG)value);
  1936. }
  1937.  
  1938. void CMUI_Floattext::SetTabSize (LONG value)
  1939. {
  1940.      SetAttr (MUIA_Floattext_TabSize, (ULONG)value);
  1941. }
  1942.  
  1943. STRPTR CMUI_Floattext::Text (void) const
  1944. {
  1945.      return (STRPTR)GetAttr (MUIA_Floattext_Text);
  1946. }
  1947.  
  1948. void CMUI_Floattext::SetText (STRPTR value)
  1949. {
  1950.      SetAttr (MUIA_Floattext_Text, (ULONG)value);
  1951. }
  1952.  
  1953. void CMUI_Dirlist::SetAcceptPattern (STRPTR value)
  1954. {
  1955.      SetAttr (MUIA_Dirlist_AcceptPattern, (ULONG)value);
  1956. }
  1957.  
  1958. STRPTR CMUI_Dirlist::Directory (void) const
  1959. {
  1960.      return (STRPTR)GetAttr (MUIA_Dirlist_Directory);
  1961. }
  1962.  
  1963. void CMUI_Dirlist::SetDirectory (STRPTR value)
  1964. {
  1965.      SetAttr (MUIA_Dirlist_Directory, (ULONG)value);
  1966. }
  1967.  
  1968. void CMUI_Dirlist::SetDrawersOnly (BOOL value)
  1969. {
  1970.      SetAttr (MUIA_Dirlist_DrawersOnly, (ULONG)value);
  1971. }
  1972.  
  1973. void CMUI_Dirlist::SetFilesOnly (BOOL value)
  1974. {
  1975.      SetAttr (MUIA_Dirlist_FilesOnly, (ULONG)value);
  1976. }
  1977.  
  1978. void CMUI_Dirlist::SetFilterDrawers (BOOL value)
  1979. {
  1980.      SetAttr (MUIA_Dirlist_FilterDrawers, (ULONG)value);
  1981. }
  1982.  
  1983. void CMUI_Dirlist::SetFilterHook (struct Hook * value)
  1984. {
  1985.      SetAttr (MUIA_Dirlist_FilterHook, (ULONG)value);
  1986. }
  1987.  
  1988. void CMUI_Dirlist::SetMultiSelDirs (BOOL value)
  1989. {
  1990.      SetAttr (MUIA_Dirlist_MultiSelDirs, (ULONG)value);
  1991. }
  1992.  
  1993. LONG CMUI_Dirlist::NumBytes (void) const
  1994. {
  1995.      return (LONG)GetAttr (MUIA_Dirlist_NumBytes);
  1996. }
  1997.  
  1998. LONG CMUI_Dirlist::NumDrawers (void) const
  1999. {
  2000.      return (LONG)GetAttr (MUIA_Dirlist_NumDrawers);
  2001. }
  2002.  
  2003. LONG CMUI_Dirlist::NumFiles (void) const
  2004. {
  2005.      return (LONG)GetAttr (MUIA_Dirlist_NumFiles);
  2006. }
  2007.  
  2008. STRPTR CMUI_Dirlist::Path (void) const
  2009. {
  2010.      return (STRPTR)GetAttr (MUIA_Dirlist_Path);
  2011. }
  2012.  
  2013. void CMUI_Dirlist::SetRejectIcons (BOOL value)
  2014. {
  2015.      SetAttr (MUIA_Dirlist_RejectIcons, (ULONG)value);
  2016. }
  2017.  
  2018. void CMUI_Dirlist::SetRejectPattern (STRPTR value)
  2019. {
  2020.      SetAttr (MUIA_Dirlist_RejectPattern, (ULONG)value);
  2021. }
  2022.  
  2023. void CMUI_Dirlist::SetSortDirs (LONG value)
  2024. {
  2025.      SetAttr (MUIA_Dirlist_SortDirs, (ULONG)value);
  2026. }
  2027.  
  2028. void CMUI_Dirlist::SetSortHighLow (BOOL value)
  2029. {
  2030.      SetAttr (MUIA_Dirlist_SortHighLow, (ULONG)value);
  2031. }
  2032.  
  2033. void CMUI_Dirlist::SetSortType (LONG value)
  2034. {
  2035.      SetAttr (MUIA_Dirlist_SortType, (ULONG)value);
  2036. }
  2037.  
  2038. LONG CMUI_Dirlist::Status (void) const
  2039. {
  2040.      return (LONG)GetAttr (MUIA_Dirlist_Status);
  2041. }
  2042.  
  2043. ULONG CMUI_Dirlist::ReRead (void)
  2044. {
  2045.     return DoMethod (MUIM_Dirlist_ReRead);
  2046. }
  2047.  
  2048. BOOL CMUI_Numeric::CheckAllSizes (void) const
  2049. {
  2050.      return (BOOL)GetAttr (MUIA_Numeric_CheckAllSizes);
  2051. }
  2052.  
  2053. void CMUI_Numeric::SetCheckAllSizes (BOOL value)
  2054. {
  2055.      SetAttr (MUIA_Numeric_CheckAllSizes, (ULONG)value);
  2056. }
  2057.  
  2058. LONG CMUI_Numeric::Default (void) const
  2059. {
  2060.      return (LONG)GetAttr (MUIA_Numeric_Default);
  2061. }
  2062.  
  2063. void CMUI_Numeric::SetDefault (LONG value)
  2064. {
  2065.      SetAttr (MUIA_Numeric_Default, (ULONG)value);
  2066. }
  2067.  
  2068. STRPTR CMUI_Numeric::Format (void) const
  2069. {
  2070.      return (STRPTR)GetAttr (MUIA_Numeric_Format);
  2071. }
  2072.  
  2073. void CMUI_Numeric::SetFormat (STRPTR value)
  2074. {
  2075.      SetAttr (MUIA_Numeric_Format, (ULONG)value);
  2076. }
  2077.  
  2078. LONG CMUI_Numeric::Max (void) const
  2079. {
  2080.      return (LONG)GetAttr (MUIA_Numeric_Max);
  2081. }
  2082.  
  2083. void CMUI_Numeric::SetMax (LONG value)
  2084. {
  2085.      SetAttr (MUIA_Numeric_Max, (ULONG)value);
  2086. }
  2087.  
  2088. LONG CMUI_Numeric::Min (void) const
  2089. {
  2090.      return (LONG)GetAttr (MUIA_Numeric_Min);
  2091. }
  2092.  
  2093. void CMUI_Numeric::SetMin (LONG value)
  2094. {
  2095.      SetAttr (MUIA_Numeric_Min, (ULONG)value);
  2096. }
  2097.  
  2098. BOOL CMUI_Numeric::Reverse (void) const
  2099. {
  2100.      return (BOOL)GetAttr (MUIA_Numeric_Reverse);
  2101. }
  2102.  
  2103. void CMUI_Numeric::SetReverse (BOOL value)
  2104. {
  2105.      SetAttr (MUIA_Numeric_Reverse, (ULONG)value);
  2106. }
  2107.  
  2108. BOOL CMUI_Numeric::RevLeftRight (void) const
  2109. {
  2110.      return (BOOL)GetAttr (MUIA_Numeric_RevLeftRight);
  2111. }
  2112.  
  2113. void CMUI_Numeric::SetRevLeftRight (BOOL value)
  2114. {
  2115.      SetAttr (MUIA_Numeric_RevLeftRight, (ULONG)value);
  2116. }
  2117.  
  2118. BOOL CMUI_Numeric::RevUpDown (void) const
  2119. {
  2120.      return (BOOL)GetAttr (MUIA_Numeric_RevUpDown);
  2121. }
  2122.  
  2123. void CMUI_Numeric::SetRevUpDown (BOOL value)
  2124. {
  2125.      SetAttr (MUIA_Numeric_RevUpDown, (ULONG)value);
  2126. }
  2127.  
  2128. LONG CMUI_Numeric::Value (void) const
  2129. {
  2130.      return (LONG)GetAttr (MUIA_Numeric_Value);
  2131. }
  2132.  
  2133. void CMUI_Numeric::SetValue (LONG value)
  2134. {
  2135.      SetAttr (MUIA_Numeric_Value, (ULONG)value);
  2136. }
  2137.  
  2138. ULONG CMUI_Numeric::Decrease (LONG amount)
  2139. {
  2140.     return DoMethod (MUIM_Numeric_Decrease, amount);
  2141. }
  2142.  
  2143. ULONG CMUI_Numeric::Increase (LONG amount)
  2144. {
  2145.     return DoMethod (MUIM_Numeric_Increase, amount);
  2146. }
  2147.  
  2148. ULONG CMUI_Numeric::ScaleToValue (LONG scalemin, LONG scalemax, LONG scale)
  2149. {
  2150.     return DoMethod (MUIM_Numeric_ScaleToValue, scalemin, scalemax, scale);
  2151. }
  2152.  
  2153. ULONG CMUI_Numeric::SetDefault (void)
  2154. {
  2155.     return DoMethod (MUIM_Numeric_SetDefault);
  2156. }
  2157.  
  2158. ULONG CMUI_Numeric::Stringify (LONG value)
  2159. {
  2160.     return DoMethod (MUIM_Numeric_Stringify, value);
  2161. }
  2162.  
  2163. ULONG CMUI_Numeric::ValueToScale (LONG scalemin, LONG scalemax)
  2164. {
  2165.     return DoMethod (MUIM_Numeric_ValueToScale, scalemin, scalemax);
  2166. }
  2167.  
  2168. STRPTR CMUI_Levelmeter::Label (void) const
  2169. {
  2170.      return (STRPTR)GetAttr (MUIA_Levelmeter_Label);
  2171. }
  2172.  
  2173. void CMUI_Levelmeter::SetLabel (STRPTR value)
  2174. {
  2175.      SetAttr (MUIA_Levelmeter_Label, (ULONG)value);
  2176. }
  2177.  
  2178. BOOL CMUI_Slider::Horiz (void) const
  2179. {
  2180.      return (BOOL)GetAttr (MUIA_Slider_Horiz);
  2181. }
  2182.  
  2183. void CMUI_Slider::SetHoriz (BOOL value)
  2184. {
  2185.      SetAttr (MUIA_Slider_Horiz, (ULONG)value);
  2186. }
  2187.  
  2188. LONG CMUI_Slider::Level (void) const
  2189. {
  2190.      return (LONG)GetAttr (MUIA_Slider_Level);
  2191. }
  2192.  
  2193. void CMUI_Slider::SetLevel (LONG value)
  2194. {
  2195.      SetAttr (MUIA_Slider_Level, (ULONG)value);
  2196. }
  2197.  
  2198. LONG CMUI_Slider::Max (void) const
  2199. {
  2200.      return (LONG)GetAttr (MUIA_Slider_Max);
  2201. }
  2202.  
  2203. void CMUI_Slider::SetMax (LONG value)
  2204. {
  2205.      SetAttr (MUIA_Slider_Max, (ULONG)value);
  2206. }
  2207.  
  2208. LONG CMUI_Slider::Min (void) const
  2209. {
  2210.      return (LONG)GetAttr (MUIA_Slider_Min);
  2211. }
  2212.  
  2213. void CMUI_Slider::SetMin (LONG value)
  2214. {
  2215.      SetAttr (MUIA_Slider_Min, (ULONG)value);
  2216. }
  2217.  
  2218. BOOL CMUI_Slider::Reverse (void) const
  2219. {
  2220.      return (BOOL)GetAttr (MUIA_Slider_Reverse);
  2221. }
  2222.  
  2223. void CMUI_Slider::SetReverse (BOOL value)
  2224. {
  2225.      SetAttr (MUIA_Slider_Reverse, (ULONG)value);
  2226. }
  2227.  
  2228. Object * CMUI_Pendisplay::Pen (void) const
  2229. {
  2230.      return (Object *)GetAttr (MUIA_Pendisplay_Pen);
  2231. }
  2232.  
  2233. Object * CMUI_Pendisplay::Reference (void) const
  2234. {
  2235.      return (Object *)GetAttr (MUIA_Pendisplay_Reference);
  2236. }
  2237.  
  2238. void CMUI_Pendisplay::SetReference (Object * value)
  2239. {
  2240.      SetAttr (MUIA_Pendisplay_Reference, (ULONG)value);
  2241. }
  2242.  
  2243. struct MUI_RGBcolor * CMUI_Pendisplay::RGBcolor (void) const
  2244. {
  2245.      return (struct MUI_RGBcolor *)GetAttr (MUIA_Pendisplay_RGBcolor);
  2246. }
  2247.  
  2248. void CMUI_Pendisplay::SetRGBcolor (struct MUI_RGBcolor * value)
  2249. {
  2250.      SetAttr (MUIA_Pendisplay_RGBcolor, (ULONG)value);
  2251. }
  2252.  
  2253. struct MUI_PenSpec  * CMUI_Pendisplay::Spec (void) const
  2254. {
  2255.      return (struct MUI_PenSpec  *)GetAttr (MUIA_Pendisplay_Spec);
  2256. }
  2257.  
  2258. void CMUI_Pendisplay::SetSpec (struct MUI_PenSpec  * value)
  2259. {
  2260.      SetAttr (MUIA_Pendisplay_Spec, (ULONG)value);
  2261. }
  2262.  
  2263. ULONG CMUI_Pendisplay::SetColormap (LONG colormap)
  2264. {
  2265.     return DoMethod (MUIM_Pendisplay_SetColormap, colormap);
  2266. }
  2267.  
  2268. ULONG CMUI_Pendisplay::SetMUIPen (LONG muipen)
  2269. {
  2270.     return DoMethod (MUIM_Pendisplay_SetMUIPen, muipen);
  2271. }
  2272.  
  2273. ULONG CMUI_Pendisplay::SetRGB (ULONG red, ULONG green, ULONG blue)
  2274. {
  2275.     return DoMethod (MUIM_Pendisplay_SetRGB, red, green, blue);
  2276. }
  2277.  
  2278. LONG CMUI_Group::ActivePage (void) const
  2279. {
  2280.      return (LONG)GetAttr (MUIA_Group_ActivePage);
  2281. }
  2282.  
  2283. void CMUI_Group::SetActivePage (LONG value)
  2284. {
  2285.      SetAttr (MUIA_Group_ActivePage, (ULONG)value);
  2286. }
  2287.  
  2288. struct List * CMUI_Group::ChildList (void) const
  2289. {
  2290.      return (struct List *)GetAttr (MUIA_Group_ChildList);
  2291. }
  2292.  
  2293. void CMUI_Group::SetColumns (LONG value)
  2294. {
  2295.      SetAttr (MUIA_Group_Columns, (ULONG)value);
  2296. }
  2297.  
  2298. LONG CMUI_Group::HorizSpacing (void) const
  2299. {
  2300.      return (LONG)GetAttr (MUIA_Group_HorizSpacing);
  2301. }
  2302.  
  2303. void CMUI_Group::SetHorizSpacing (LONG value)
  2304. {
  2305.      SetAttr (MUIA_Group_HorizSpacing, (ULONG)value);
  2306. }
  2307.  
  2308. void CMUI_Group::SetRows (LONG value)
  2309. {
  2310.      SetAttr (MUIA_Group_Rows, (ULONG)value);
  2311. }
  2312.  
  2313. void CMUI_Group::SetSpacing (LONG value)
  2314. {
  2315.      SetAttr (MUIA_Group_Spacing, (ULONG)value);
  2316. }
  2317.  
  2318. LONG CMUI_Group::VertSpacing (void) const
  2319. {
  2320.      return (LONG)GetAttr (MUIA_Group_VertSpacing);
  2321. }
  2322.  
  2323. void CMUI_Group::SetVertSpacing (LONG value)
  2324. {
  2325.      SetAttr (MUIA_Group_VertSpacing, (ULONG)value);
  2326. }
  2327.  
  2328. ULONG CMUI_Group::ExitChange (void)
  2329. {
  2330.     return DoMethod (MUIM_Group_ExitChange);
  2331. }
  2332.  
  2333. ULONG CMUI_Group::InitChange (void)
  2334. {
  2335.     return DoMethod (MUIM_Group_InitChange);
  2336. }
  2337.  
  2338. ULONG CMUI_Group::Sort (StartVarArgs sva, Object * obj, ...)
  2339. {
  2340.     sva.methodID = MUIM_Group_Sort;
  2341.     return DoMethodA ((Msg)&sva);
  2342. }
  2343.  
  2344. BOOL CMUI_Register::Frame (void) const
  2345. {
  2346.      return (BOOL)GetAttr (MUIA_Register_Frame);
  2347. }
  2348.  
  2349. STRPTR * CMUI_Register::Titles (void) const
  2350. {
  2351.      return (STRPTR *)GetAttr (MUIA_Register_Titles);
  2352. }
  2353.  
  2354. ULONG CMUI_Settingsgroup::ConfigToGadgets (Object * configdata)
  2355. {
  2356.     return DoMethod (MUIM_Settingsgroup_ConfigToGadgets, configdata);
  2357. }
  2358.  
  2359. ULONG CMUI_Settingsgroup::GadgetsToConfig (Object * configdata)
  2360. {
  2361.     return DoMethod (MUIM_Settingsgroup_GadgetsToConfig, configdata);
  2362. }
  2363.  
  2364. LONG CMUI_Virtgroup::Height (void) const
  2365. {
  2366.      return (LONG)GetAttr (MUIA_Virtgroup_Height);
  2367. }
  2368.  
  2369. LONG CMUI_Virtgroup::Left (void) const
  2370. {
  2371.      return (LONG)GetAttr (MUIA_Virtgroup_Left);
  2372. }
  2373.  
  2374. void CMUI_Virtgroup::SetLeft (LONG value)
  2375. {
  2376.      SetAttr (MUIA_Virtgroup_Left, (ULONG)value);
  2377. }
  2378.  
  2379. LONG CMUI_Virtgroup::Top (void) const
  2380. {
  2381.      return (LONG)GetAttr (MUIA_Virtgroup_Top);
  2382. }
  2383.  
  2384. void CMUI_Virtgroup::SetTop (LONG value)
  2385. {
  2386.      SetAttr (MUIA_Virtgroup_Top, (ULONG)value);
  2387. }
  2388.  
  2389. LONG CMUI_Virtgroup::Width (void) const
  2390. {
  2391.      return (LONG)GetAttr (MUIA_Virtgroup_Width);
  2392. }
  2393.  
  2394. Object * CMUI_Scrollgroup::Contents (void) const
  2395. {
  2396.      return (Object *)GetAttr (MUIA_Scrollgroup_Contents);
  2397. }
  2398.  
  2399. Object * CMUI_Scrollgroup::HorizBar (void) const
  2400. {
  2401.      return (Object *)GetAttr (MUIA_Scrollgroup_HorizBar);
  2402. }
  2403.  
  2404. Object * CMUI_Scrollgroup::VertBar (void) const
  2405. {
  2406.      return (Object *)GetAttr (MUIA_Scrollgroup_VertBar);
  2407. }
  2408.  
  2409. LONG CMUI_Listview::ActivePage (void) const
  2410. {
  2411.      return (LONG)GetAttr (MUIA_Group_ActivePage);
  2412. }
  2413.  
  2414. void CMUI_Listview::SetActivePage (LONG value)
  2415. {
  2416.      SetAttr (MUIA_Group_ActivePage, (ULONG)value);
  2417. }
  2418.  
  2419. struct List * CMUI_Listview::ChildList (void) const
  2420. {
  2421.      return (struct List *)GetAttr (MUIA_Group_ChildList);
  2422. }
  2423.  
  2424. void CMUI_Listview::SetColumns (LONG value)
  2425. {
  2426.      SetAttr (MUIA_Group_Columns, (ULONG)value);
  2427. }
  2428.  
  2429. LONG CMUI_Listview::HorizSpacing (void) const
  2430. {
  2431.      return (LONG)GetAttr (MUIA_Group_HorizSpacing);
  2432. }
  2433.  
  2434. void CMUI_Listview::SetHorizSpacing (LONG value)
  2435. {
  2436.      SetAttr (MUIA_Group_HorizSpacing, (ULONG)value);
  2437. }
  2438.  
  2439. void CMUI_Listview::SetRows (LONG value)
  2440. {
  2441.      SetAttr (MUIA_Group_Rows, (ULONG)value);
  2442. }
  2443.  
  2444. void CMUI_Listview::SetSpacing (LONG value)
  2445. {
  2446.      SetAttr (MUIA_Group_Spacing, (ULONG)value);
  2447. }
  2448.  
  2449. LONG CMUI_Listview::VertSpacing (void) const
  2450. {
  2451.      return (LONG)GetAttr (MUIA_Group_VertSpacing);
  2452. }
  2453.  
  2454. void CMUI_Listview::SetVertSpacing (LONG value)
  2455. {
  2456.      SetAttr (MUIA_Group_VertSpacing, (ULONG)value);
  2457. }
  2458.  
  2459. ULONG CMUI_Listview::ExitChange (void)
  2460. {
  2461.     return DoMethod (MUIM_Group_ExitChange);
  2462. }
  2463.  
  2464. ULONG CMUI_Listview::InitChange (void)
  2465. {
  2466.     return DoMethod (MUIM_Group_InitChange);
  2467. }
  2468.  
  2469. ULONG CMUI_Listview::Sort (StartVarArgs sva, Object * obj, ...)
  2470. {
  2471.     sva.methodID = MUIM_Group_Sort;
  2472.     return DoMethodA ((Msg)&sva);
  2473. }
  2474.  
  2475. LONG CMUI_Listview::ClickColumn (void) const
  2476. {
  2477.      return (LONG)GetAttr (MUIA_Listview_ClickColumn);
  2478. }
  2479.  
  2480. LONG CMUI_Listview::DefClickColumn (void) const
  2481. {
  2482.      return (LONG)GetAttr (MUIA_Listview_DefClickColumn);
  2483. }
  2484.  
  2485. void CMUI_Listview::SetDefClickColumn (LONG value)
  2486. {
  2487.      SetAttr (MUIA_Listview_DefClickColumn, (ULONG)value);
  2488. }
  2489.  
  2490. BOOL CMUI_Listview::DoubleClick (void) const
  2491. {
  2492.      return (BOOL)GetAttr (MUIA_Listview_DoubleClick);
  2493. }
  2494.  
  2495. LONG CMUI_Listview::DragType (void) const
  2496. {
  2497.      return (LONG)GetAttr (MUIA_Listview_DragType);
  2498. }
  2499.  
  2500. void CMUI_Listview::SetDragType (LONG value)
  2501. {
  2502.      SetAttr (MUIA_Listview_DragType, (ULONG)value);
  2503. }
  2504.  
  2505. Object * CMUI_Listview::List (void) const
  2506. {
  2507.      return (Object *)GetAttr (MUIA_Listview_List);
  2508. }
  2509.  
  2510. BOOL CMUI_Listview::SelectChange (void) const
  2511. {
  2512.      return (BOOL)GetAttr (MUIA_Listview_SelectChange);
  2513. }
  2514.  
  2515. LONG CMUI_Radio::Active (void) const
  2516. {
  2517.      return (LONG)GetAttr (MUIA_Radio_Active);
  2518. }
  2519.  
  2520. void CMUI_Radio::SetActive (LONG value)
  2521. {
  2522.      SetAttr (MUIA_Radio_Active, (ULONG)value);
  2523. }
  2524.  
  2525. LONG CMUI_Cycle::Active (void) const
  2526. {
  2527.      return (LONG)GetAttr (MUIA_Cycle_Active);
  2528. }
  2529.  
  2530. void CMUI_Cycle::SetActive (LONG value)
  2531. {
  2532.      SetAttr (MUIA_Cycle_Active, (ULONG)value);
  2533. }
  2534.  
  2535. ULONG CMUI_Coloradjust::Blue (void) const
  2536. {
  2537.      return (ULONG)GetAttr (MUIA_Coloradjust_Blue);
  2538. }
  2539.  
  2540. void CMUI_Coloradjust::SetBlue (ULONG value)
  2541. {
  2542.      SetAttr (MUIA_Coloradjust_Blue, (ULONG)value);
  2543. }
  2544.  
  2545. ULONG CMUI_Coloradjust::Green (void) const
  2546. {
  2547.      return (ULONG)GetAttr (MUIA_Coloradjust_Green);
  2548. }
  2549.  
  2550. void CMUI_Coloradjust::SetGreen (ULONG value)
  2551. {
  2552.      SetAttr (MUIA_Coloradjust_Green, (ULONG)value);
  2553. }
  2554.  
  2555. ULONG CMUI_Coloradjust::ModeID (void) const
  2556. {
  2557.      return (ULONG)GetAttr (MUIA_Coloradjust_ModeID);
  2558. }
  2559.  
  2560. void CMUI_Coloradjust::SetModeID (ULONG value)
  2561. {
  2562.      SetAttr (MUIA_Coloradjust_ModeID, (ULONG)value);
  2563. }
  2564.  
  2565. ULONG CMUI_Coloradjust::Red (void) const
  2566. {
  2567.      return (ULONG)GetAttr (MUIA_Coloradjust_Red);
  2568. }
  2569.  
  2570. void CMUI_Coloradjust::SetRed (ULONG value)
  2571. {
  2572.      SetAttr (MUIA_Coloradjust_Red, (ULONG)value);
  2573. }
  2574.  
  2575. ULONG * CMUI_Coloradjust::RGB (void) const
  2576. {
  2577.      return (ULONG *)GetAttr (MUIA_Coloradjust_RGB);
  2578. }
  2579.  
  2580. void CMUI_Coloradjust::SetRGB (ULONG * value)
  2581. {
  2582.      SetAttr (MUIA_Coloradjust_RGB, (ULONG)value);
  2583. }
  2584.  
  2585. struct MUI_Palette_Entry * CMUI_Palette::Entries (void) const
  2586. {
  2587.      return (struct MUI_Palette_Entry *)GetAttr (MUIA_Palette_Entries);
  2588. }
  2589.  
  2590. BOOL CMUI_Palette::Groupable (void) const
  2591. {
  2592.      return (BOOL)GetAttr (MUIA_Palette_Groupable);
  2593. }
  2594.  
  2595. void CMUI_Palette::SetGroupable (BOOL value)
  2596. {
  2597.      SetAttr (MUIA_Palette_Groupable, (ULONG)value);
  2598. }
  2599.  
  2600. char ** CMUI_Palette::Names (void) const
  2601. {
  2602.      return (char **)GetAttr (MUIA_Palette_Names);
  2603. }
  2604.  
  2605. void CMUI_Palette::SetNames (char ** value)
  2606. {
  2607.      SetAttr (MUIA_Palette_Names, (ULONG)value);
  2608. }
  2609.  
  2610. Object * CMUI_Popstring::Button (void) const
  2611. {
  2612.      return (Object *)GetAttr (MUIA_Popstring_Button);
  2613. }
  2614.  
  2615. struct Hook * CMUI_Popstring::CloseHook (void) const
  2616. {
  2617.      return (struct Hook *)GetAttr (MUIA_Popstring_CloseHook);
  2618. }
  2619.  
  2620. void CMUI_Popstring::SetCloseHook (struct Hook * value)
  2621. {
  2622.      SetAttr (MUIA_Popstring_CloseHook, (ULONG)value);
  2623. }
  2624.  
  2625. struct Hook * CMUI_Popstring::OpenHook (void) const
  2626. {
  2627.      return (struct Hook *)GetAttr (MUIA_Popstring_OpenHook);
  2628. }
  2629.  
  2630. void CMUI_Popstring::SetOpenHook (struct Hook * value)
  2631. {
  2632.      SetAttr (MUIA_Popstring_OpenHook, (ULONG)value);
  2633. }
  2634.  
  2635. Object * CMUI_Popstring::String (void) const
  2636. {
  2637.      return (Object *)GetAttr (MUIA_Popstring_String);
  2638. }
  2639.  
  2640. BOOL CMUI_Popstring::Toggle (void) const
  2641. {
  2642.      return (BOOL)GetAttr (MUIA_Popstring_Toggle);
  2643. }
  2644.  
  2645. void CMUI_Popstring::SetToggle (BOOL value)
  2646. {
  2647.      SetAttr (MUIA_Popstring_Toggle, (ULONG)value);
  2648. }
  2649.  
  2650. ULONG CMUI_Popstring::Close (LONG result)
  2651. {
  2652.     return DoMethod (MUIM_Popstring_Close, result);
  2653. }
  2654.  
  2655. ULONG CMUI_Popstring::Open (void)
  2656. {
  2657.     return DoMethod (MUIM_Popstring_Open);
  2658. }
  2659.  
  2660. BOOL CMUI_Popobject::Follow (void) const
  2661. {
  2662.      return (BOOL)GetAttr (MUIA_Popobject_Follow);
  2663. }
  2664.  
  2665. void CMUI_Popobject::SetFollow (BOOL value)
  2666. {
  2667.      SetAttr (MUIA_Popobject_Follow, (ULONG)value);
  2668. }
  2669.  
  2670. BOOL CMUI_Popobject::Light (void) const
  2671. {
  2672.      return (BOOL)GetAttr (MUIA_Popobject_Light);
  2673. }
  2674.  
  2675. void CMUI_Popobject::SetLight (BOOL value)
  2676. {
  2677.      SetAttr (MUIA_Popobject_Light, (ULONG)value);
  2678. }
  2679.  
  2680. Object * CMUI_Popobject::PopObject (void) const
  2681. {
  2682.      return (Object *)GetAttr (MUIA_Popobject_Object);
  2683. }
  2684.  
  2685. struct Hook * CMUI_Popobject::ObjStrHook (void) const
  2686. {
  2687.      return (struct Hook *)GetAttr (MUIA_Popobject_ObjStrHook);
  2688. }
  2689.  
  2690. void CMUI_Popobject::SetObjStrHook (struct Hook * value)
  2691. {
  2692.      SetAttr (MUIA_Popobject_ObjStrHook, (ULONG)value);
  2693. }
  2694.  
  2695. struct Hook * CMUI_Popobject::StrObjHook (void) const
  2696. {
  2697.      return (struct Hook *)GetAttr (MUIA_Popobject_StrObjHook);
  2698. }
  2699.  
  2700. void CMUI_Popobject::SetStrObjHook (struct Hook * value)
  2701. {
  2702.      SetAttr (MUIA_Popobject_StrObjHook, (ULONG)value);
  2703. }
  2704.  
  2705. BOOL CMUI_Popobject::Volatile (void) const
  2706. {
  2707.      return (BOOL)GetAttr (MUIA_Popobject_Volatile);
  2708. }
  2709.  
  2710. void CMUI_Popobject::SetVolatile (BOOL value)
  2711. {
  2712.      SetAttr (MUIA_Popobject_Volatile, (ULONG)value);
  2713. }
  2714.  
  2715. struct Hook * CMUI_Popobject::WindowHook (void) const
  2716. {
  2717.      return (struct Hook *)GetAttr (MUIA_Popobject_WindowHook);
  2718. }
  2719.  
  2720. void CMUI_Popobject::SetWindowHook (struct Hook * value)
  2721. {
  2722.      SetAttr (MUIA_Popobject_WindowHook, (ULONG)value);
  2723. }
  2724.  
  2725. BOOL CMUI_Popasl::Active (void) const
  2726. {
  2727.      return (BOOL)GetAttr (MUIA_Popasl_Active);
  2728. }
  2729.  
  2730. struct Hook * CMUI_Popasl::StartHook (void) const
  2731. {
  2732.      return (struct Hook *)GetAttr (MUIA_Popasl_StartHook);
  2733. }
  2734.  
  2735. void CMUI_Popasl::SetStartHook (struct Hook * value)
  2736. {
  2737.      SetAttr (MUIA_Popasl_StartHook, (ULONG)value);
  2738. }
  2739.  
  2740. struct Hook * CMUI_Popasl::StopHook (void) const
  2741. {
  2742.      return (struct Hook *)GetAttr (MUIA_Popasl_StopHook);
  2743. }
  2744.  
  2745. void CMUI_Popasl::SetStopHook (struct Hook * value)
  2746. {
  2747.      SetAttr (MUIA_Popasl_StopHook, (ULONG)value);
  2748. }
  2749.  
  2750. ULONG CMUI_Popasl::Type (void) const
  2751. {
  2752.      return (ULONG)GetAttr (MUIA_Popasl_Type);
  2753. }
  2754.  
  2755. ULONG CMUI_Semaphore::Attempt (void)
  2756. {
  2757.     return DoMethod (MUIM_Semaphore_Attempt);
  2758. }
  2759.  
  2760. ULONG CMUI_Semaphore::AttemptShared (void)
  2761. {
  2762.     return DoMethod (MUIM_Semaphore_AttemptShared);
  2763. }
  2764.  
  2765. ULONG CMUI_Semaphore::Obtain (void)
  2766. {
  2767.     return DoMethod (MUIM_Semaphore_Obtain);
  2768. }
  2769.  
  2770. ULONG CMUI_Semaphore::ObtainShared (void)
  2771. {
  2772.     return DoMethod (MUIM_Semaphore_ObtainShared);
  2773. }
  2774.  
  2775. ULONG CMUI_Semaphore::Release (void)
  2776. {
  2777.     return DoMethod (MUIM_Semaphore_Release);
  2778. }
  2779.  
  2780. ULONG CMUI_Dataspace::Add (APTR data, LONG len, ULONG id)
  2781. {
  2782.     return DoMethod (MUIM_Dataspace_Add, data, len, id);
  2783. }
  2784.  
  2785. ULONG CMUI_Dataspace::Clear (void)
  2786. {
  2787.     return DoMethod (MUIM_Dataspace_Clear);
  2788. }
  2789.  
  2790. ULONG CMUI_Dataspace::Find (ULONG id)
  2791. {
  2792.     return DoMethod (MUIM_Dataspace_Find, id);
  2793. }
  2794.  
  2795. ULONG CMUI_Dataspace::Merge (Object * dataspace)
  2796. {
  2797.     return DoMethod (MUIM_Dataspace_Merge, dataspace);
  2798. }
  2799.  
  2800. ULONG CMUI_Dataspace::ReadIFF (struct IFFHandle * handle)
  2801. {
  2802.     return DoMethod (MUIM_Dataspace_ReadIFF, handle);
  2803. }
  2804.  
  2805. ULONG CMUI_Dataspace::Remove (ULONG id)
  2806. {
  2807.     return DoMethod (MUIM_Dataspace_Remove, id);
  2808. }
  2809.  
  2810. ULONG CMUI_Dataspace::WriteIFF (struct IFFHandle * handle, ULONG type, ULONG id)
  2811. {
  2812.     return DoMethod (MUIM_Dataspace_WriteIFF, handle, type, id);
  2813. }
  2814.  
  2815.